Create a secure smtp test certificate
/usr/sbin/mkesmtpdcert
Secure ESMTP requires a valid, signed, X.509 certificate. The default location for the certificate file is /usr/lib/courier/esmtpd.pem. The mkesmtpdcert generates a self-signed X.509 certificate, mainly for testing. For production use the X.509 certificate must be signed by a recognized certificate authority, in order for mail clients to accept the certificate.
/usr/lib/courier/esmtpd.pem must be owned by the daemon user and have no group or world permissions. The mkesmtpdcert command will enforce this. To prevent an unfortunate accident, mkesmtpdcert will not work if /usr/lib/courier/esmtpd.pem already exists.
mkesmtpdcert requires OpenSSL to be installed.
\m[blue]courier(8)\m[]\s-2\u[1]\d\s+2.
Sam Varshavchik
Author
[set $man.base.url.for.relative.links]/courier.html