Since version v1.3.0, EE supports requesting free ssl certificate from Let's Encrypt and renew it automatically.
Login to EE web ui as global admin, click SSL Certificate
on left sidebar.
Input the domain names you want to support in the ssl cert under the Domains Names
card.
After you input the domain names, EE queries DNS and displays all IP addresses, so that you can quickly verify whether they are pointed to this EE server.
Once you have all domain names, click the Request a new cert
button to
request the cert.
After successfully requested, EE displays the valid date and renewal date on web UI. It will renew the cert right on time automatically and send email notification to administrator.
If you add or remove some domain names after requested, please click the
Request a new cert
button again to get a new cert.
If you prefer a purchased cert or whatever, you can remove this free cert by
click the Delete
button. Be careful, EE does not remove the cert files on
disk, also not restart or reload network services, you must replace the cert
files manually, then restart services.
/opt/iredmail/ssl/key.pem
/opt/iredmail/ssl/combined.pem
/opt/iredmail/ssl/cert.pem
. It has same content as full chain file.EE doesn't rely on external tool like certbot
or acme.sh
to request or
renew the cert, if you use any of them on this EE server before v1.3.0,
you should at least remove the cron job used to renew the cert (including the
one added by certbot package automatically, /etc/cron.d/certbot
) to avoid
conflict.
Better remove certbot
package and its data directory /etc/letsencrypt/
completely since you don't need it anymore.