{"id":928,"date":"2023-01-25T21:08:35","date_gmt":"2023-01-25T15:08:35","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=928"},"modified":"2023-01-25T21:08:35","modified_gmt":"2023-01-25T15:08:35","slug":"how-to-install-ssl-in-zimbra-with-certificate-and-ca-bundle","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/how-to-install-ssl-in-zimbra-with-certificate-and-ca-bundle.html","title":{"rendered":"How to install SSL in Zimbra with Certificate and CA-bundle"},"content":{"rendered":"\n<p>There are 3 things you need:<\/p>\n\n\n\n<ol><li>Private key<\/li><li>Certificate<\/li><li>Ca-bundle<\/li><\/ol>\n\n\n\n<p>First, switch to the user zimbra:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">su - zimbra<\/pre>\n\n\n\n<p>Let&#8217;s except your files are located here:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Private Key: \/tmp\/private.key\nCertificate: \/tmp\/your.domain.com.crt\nCa-Bundle: \/tmp\/your.domain.com.ca-bundle<\/pre>\n\n\n\n<p>Now, copy your private key file to the following location:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cp \/tmp\/private.key \/opt\/zimbra\/ssl\/zimbra\/commercial\/commercial.key<\/pre>\n\n\n\n<p>Now, first, verify 3 things to make sure, they are correct:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/opt\/zimbra\/bin\/zmcertmgr verifycrt comm \/opt\/zimbra\/ssl\/zimbra\/commercial\/commercial.key \/tmp\/your.domain.com.crt \/tmp\/your.domain.com.ca-bundle<\/pre>\n\n\n\n<p>If it, says ok, now you may deploy the certificate like the following:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/opt\/zimbra\/bin\/zmcertmgr deploycrt comm \/tmp\/your.domain.com.crt \/tmp\/your.domain.com.ca-bundle<\/pre>\n\n\n\n<p>Once done, now, exit from the user zimbra and restart zimbra:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">exit\nservice zimbra restart<\/pre>\n\n\n\n<p>Your SSL should work now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are 3 things you need: Private key Certificate Ca-bundle First, switch to the user zimbra: Let&#8217;s except your files are located here: Now, copy your private key file to the following location: Now, first, verify 3 things to make sure, they are correct: If it, says ok, now you may deploy the certificate like &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/how-to-install-ssl-in-zimbra-with-certificate-and-ca-bundle.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to install SSL in Zimbra with Certificate and CA-bundle&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,331],"tags":[711,357,332],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/928"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=928"}],"version-history":[{"count":1,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/928\/revisions"}],"predecessor-version":[{"id":929,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/928\/revisions\/929"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}