Tuesday, June 16, 2009

2009-01-07: Creating self-signed certificates

Note to self: When my self-signed certificate for my mail server expires next year at about the same time, this should fix it:
openssl req -config /etc/ssl/openssl.cnf \
-new -x509 -nodes -out /etc/ssl/certs/dovecot.pem \
-keyout /etc/ssl/private/dovecot.pem