原文:https://stackoverflow.com/questions/50766990/how-to-properly-set-up-https-for-onlyoffice

按照官网建议,生成的证书保存情况如下:

/app/onlyoffice/DocumentServer/data/certs# ls
dhparam.pem  onlyoffice.crt  onlyoffice.csr  onlyoffice.key

使用LetsEncrypt证书

问题:

Also, when copying the created certificates from /etc/letsencrypt/live/[domain] to /app/onlyoffice/DocumentServer/data/certs/, which file between cert.pemchain.pem, and fullchain.pem becomes onlyoffice.crt?

回答:

1) cert.pem is onlyoffice’s onlyoffice.crt – This is your SSL certificate. 2) privkey.pem is onlyoffice.key – This is your Private Key. 3) You can usually ignore the other files as they are intermediate certificates.

将LetsEncrypt证书重命名,复制到Onlyoffice证书位置,重启Onlyoffice服务,或者容器即可。

Leave a Reply

Your email address will not be published. Required fields are marked *