Last active
April 21, 2017 16:02
-
-
Save omartrigui/0cab77d64d79a90d98397aa924f74c8d to your computer and use it in GitHub Desktop.
Secure SMTP, POP and IMAP connections in Plesk with Let's Encrypt (Free SSL/TLS Certificates)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Let's encrypt must be installed and port 443 must not be used for a short period | |
certbot auth --text --agree-tos --standalone --email [email protected] -d domain.com -d mail.domain.com | |
cat /etc/letsencrypt/live/domain.com/privkey.pem > /etc/postfix/postfix_default.pem | |
cat /etc/letsencrypt/live/domain.com/fullchain.pem >> /etc/postfix/postfix_default.pem | |
/usr/local/psa/admin/sbin/mailmng --restart-service | |
# For the other Let's encrypt alternatives : https://wpguru.co.uk/2014/12/plesk-mail-ssl/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment