{"id":528,"date":"2020-06-12T20:55:32","date_gmt":"2020-06-12T12:55:32","guid":{"rendered":"https:\/\/freeapp.sbs\/blog\/?p=528"},"modified":"2025-04-01T16:50:52","modified_gmt":"2025-04-01T07:50:52","slug":"yjhxmb6n9ptc3aq","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2020\/06\/12\/yjhxmb6n9ptc3aq\/","title":{"rendered":"\u4e3aOnlyoffice\u6dfb\u52a0LetsEncrypt\u8bc1\u4e66"},"content":{"rendered":"<p>\u539f\u6587\uff1a<a href=\"https:\/\/stackoverflow.com\/questions\/50766990\/how-to-properly-set-up-https-for-onlyoffice\">https:\/\/stackoverflow.com\/questions\/50766990\/how-to-properly-set-up-https-for-onlyoffice<\/a><\/p>\n<p>\u6309\u7167\u5b98\u7f51\u5efa\u8bae\uff0c\u751f\u6210\u7684\u8bc1\u4e66\u4fdd\u5b58\u60c5\u51b5\u5982\u4e0b\uff1a<\/p>\n<pre><code>\/app\/onlyoffice\/DocumentServer\/data\/certs# ls\ndhparam.pem  onlyoffice.crt  onlyoffice.csr  onlyoffice.key<\/code><\/pre>\n<p>\u4f7f\u7528LetsEncrypt\u8bc1\u4e66<\/p>\n<p>\u95ee\u9898\uff1a<\/p>\n<p>Also, when copying the created certificates from <code>\/etc\/letsencrypt\/live\/[domain]<\/code>\u00a0to\u00a0<code>\/app\/onlyoffice\/DocumentServer\/data\/certs\/<\/code>, which file between\u00a0<code>cert.pem<\/code>,\u00a0<code>chain.pem<\/code>, and\u00a0<code>fullchain.pem<\/code>\u00a0becomes\u00a0<code>onlyoffice.crt<\/code>?<\/p>\n<p>\u56de\u7b54\uff1a<\/p>\n<p><span class=\"comment-copy\">1) cert.pem is onlyoffice&#8217;s onlyoffice.crt &#8211; This is your SSL certificate. 2) privkey.pem is onlyoffice.key &#8211; This is your Private Key. 3) You can usually ignore the other files as they are intermediate certificates.<\/span><\/p>\n<p>\u5c06LetsEncrypt\u8bc1\u4e66\u91cd\u547d\u540d\uff0c\u590d\u5236\u5230Onlyoffice\u8bc1\u4e66\u4f4d\u7f6e\uff0c\u91cd\u542fOnlyoffice\u670d\u52a1\uff0c\u6216\u8005\u5bb9\u5668\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\uff1ahttps:\/\/stackoverflow.com\/questions\/50766990\/how-to-properly-set-up-https-for-onlyoffice \u6309\u7167\u5b98\u7f51\u5efa\u8bae\uff0c\u751f\u6210\u7684\u8bc1\u4e66\u4fdd\u5b58\u60c5\u51b5\u5982\u4e0b\uff1a \/app\/onlyoffice\/DocumentServer\/data\/certs# ls dhparam.pem onlyoffice.crt onlyoffice.csr onlyoffice.key \u4f7f\u7528LetsEncrypt\u8bc1\u4e66 \u95ee\u9898\uff1a Also, when copying the created certificates from \/etc\/letsencrypt\/live\/[domain]\u00a0to\u00a0\/app\/onlyoffice\/DocumentServer\/data\/certs\/, which file between\u00a0cert.pem,\u00a0chain.pem, and\u00a0fullchain.pem\u00a0becomes\u00a0onlyoffice.crt? \u56de\u7b54\uff1a 1) cert.pem is onlyoffice&#8217;s onlyoffice.crt &#8211; This is your SSL certificate. 2) privkey.pem is onlyoffice.key &#8211; This is your Private Key. 3) You can usually ignore the &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-528","post","type-post","status-publish","format-standard","hentry","category-m3fjs7w9sd6njwr"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=528"}],"version-history":[{"count":1,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/528\/revisions"}],"predecessor-version":[{"id":2219,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/528\/revisions\/2219"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}