Let's encrypt certificate

Step:- 01 [Pre requisite]

apt-get update

apt-get upgrade


Step:- 02

Follow below mentioned instructions:

apt install snapd

snap install core

snap refresh core

snap install --classic certbot

apt-get install certbot python-certbot-apache

certbot renew --dry-run

apt-get install gawk


Step:- 03 

Follow below mentioned instructions:

git clone https://github.com/YetOpen/certbot-zimbra.git

cd certbot-zimbra/

mv certbot_zimbra.sh /usr/local/bin/

/usr/local/bin/certbot_zimbra.sh -n -c


Troubleshooting Process:

su - zimbra

zmprov ms mail.domain.com zimbraReverseProxySSLToUpstreamEnabled FALSE

zmprov ms mail.domain.com zimbraMailMode both

zmprov ms mail.domain.com zimbraReverseProxyMailMode both

/opt/zimbra/libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x both -H mail.domain.com

zmcontrol restart



sudo netstat -plant | grep 80

sudo systemctl stop apache2

Comments

Popular posts from this blog

Disabling Zimbra's AntiSpam, Amavis and AntiVirus filtering

Cambium cnPilot E400/E410/E500 Configuration Tutorial

Error "Unable to retrive Zimbra GPG key for package validation"