-
Notifications
You must be signed in to change notification settings - Fork 16
letsencrypt
Matt Simerson edited this page Nov 8, 2021
·
10 revisions
Uses the acme.sh utility to validate and install TLS certificates from Let's Encrypt.
. mail-toaster.sh && provision letsencrypt
There are three vhosts where certs are installed:
- Haraka (smtp)
- /data/haraka/config/tls
- Dovecot (IMAP & POP3)
- /data/dovecot/etc/ssl
- Haproxy (HTTP)
- /data/haproxy/ssl.d/
Haproxy and Haraka will load and use all the certificates found in their respective TLS directories. After new or updated certs are installed, restarting each will cause the updated certs to take effect.
Dovecot requires configuration for each certificate (vhost). See the Dovecot SSL docs and especially the bits about SNI
- Firewalls: if a network device is blocking port 80 requests to your server, this step will not work.
- High Tech Bridge SSL Server Test
- SSL Labs Server Test (https only)
- Cipherli.st
-
openssl
openssl s_client -connect mail.example.com:587 -starttls smtp -tlsextdebug -status
openssl s_client -connect mail.example.com:993 -servername mail.another-example.com