{"id":501,"date":"2020-05-10T10:07:34","date_gmt":"2020-05-10T10:07:34","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=501"},"modified":"2021-04-16T23:30:06","modified_gmt":"2021-04-16T17:30:06","slug":"how-to-renew-deploy-lets-encrypt-ssl-on-zimbra-server-2020","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/how-to-renew-deploy-lets-encrypt-ssl-on-zimbra-server-2020.html","title":{"rendered":"How To Renew &#038; Deploy Let&#8217;s Encrypt SSL on Zimbra Server &#8211; 2020"},"content":{"rendered":"\n<p><strong>Note: This does not seem to work on 2021. I have written another article on how to do this now: <a href=\"https:\/\/mellowhost.com\/blog\/how-to-manually-install-lets-encrypt-ssl-in-zimbra.html\">How to manually install\/renew let&#8217;s encrypt ssl in Zimbra<\/a><\/strong><\/p>\n\n\n\n<p>Ok, there is a reason to put 2020 on the title. Because the process has changed since past. At this moment, I manage a Zimbra server with multiple domains in it, which won&#8217;t deploy the &#8216;other&#8217; domains if not specified. The process is fairly simple, but I am keeping this as a documentation purpose, so that I don&#8217;t miss next time.<\/p>\n\n\n\n<p>To renew the certificate for attached domains using certbot is fairly simple, just do:<\/p>\n\n\n\n<p><code># certbot renew<\/code><\/p>\n\n\n\n<p>Once done, you you want to use the pre-hook and deploy-hook to do the patching and deploying as following using certbot_zimbra.sh<\/p>\n\n\n\n<p><code># certbot_zimbra.sh -p<br># certbot_zimbra.sh -r -d 'your_domain'<\/code><\/p>\n\n\n\n<p>Updated, certbot_zimbra doesn&#8217;t take this. &#8216;-n&#8217; used to be taken as new and &#8216;-r&#8217; for replacing, now, &#8216;-r&#8217; is removed. Instead you can use &#8216;-e&#8217; to specify new domains. So the command for replacement and deployment would be fairly simple as following:<br><br><code># certbot_zimbra.sh -p<br># certbot_zimbra.sh -d -e 'mail.yourdomain.com'<br># certbot_zimbra.sh -d -e 'mailapp.yourdomain.com'<\/code><br><br>&#8230; and so on. At this moment, I couldn&#8217;t find a way to advise zimbra certbot to follow a list of domains instead of one.  But this is probably possible by cracking the certbot. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Note: This does not seem to work on 2021. I have written another article on how to do this now: How to manually install\/renew let&#8217;s encrypt ssl in Zimbra Ok, there is a reason to put 2020 on the title. Because the process has changed since past. At this moment, I manage a Zimbra server &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/how-to-renew-deploy-lets-encrypt-ssl-on-zimbra-server-2020.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How To Renew &#038; Deploy Let&#8217;s Encrypt SSL on Zimbra Server &#8211; 2020&#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":[295,12,13,211,331],"tags":[336,335,249,332],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/501"}],"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=501"}],"version-history":[{"count":3,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/501\/revisions"}],"predecessor-version":[{"id":755,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/501\/revisions\/755"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}