Thursday, September 01, 2005

Creating self-signed certificate for dovecot in Ubuntu 5.04

By default, dovecot in Ubuntu comes with self-signed certificate for localhost.localdomain. I have to manually generate private key and certificate pair by following command.

openssl req -config /etc/ssl/openssl.conf
-new -x509 -nodes -out /etc/ssl/certs/dovecot.pem
-keyout /etc/ssl/private/dovecot.pem

No comments: