- Secure iRedMail Server with Let’s Encrypt SSL Certificate
Before requesting a cert
The full hostname of your mail server.
hostname -f
Make sure you have correct DNS record for the host names
To check the DNS record, you can use dig command like below:
dig +short -t a mail.domainname.com
It should return the (public) IP address of your server.
Request a free cert from Let’s Encrypt
Check cert status
certbot certificates
If certbot not installed Install certbot tool that will be used to obtain a Let’s Encrypt SSL certificate or follow Let’s Encrypt official tutorial to install required certbot package: https://certbot.eff.org. it’s used to request cert.