This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Alternatively, if you have any SSL certificates setup for your Virtual Servers in Virtualmin, what you can go is go into Server Configuration -> Manage SSL Certificates, and click "Copy to Dovecot".
ok, i found a post here, and i've done:
cp /etc/ssl/private/ssl-cert-snakeoil.key /etc/ssl/private/ssl-cert-snakeoil.key-backup
cp /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/ssl/certs/ssl-cert-snakeoil.pem-backup
openssl genrsa -out server.key 1024
openssl req -new -x509 -key server.key -out server.pem -days 1826
mv server.pem /etc/ssl/certs/ssl-cert-snakeoil.pem
mv server.key /etc/ssl/private/ssl-cert-snakeoil.key
/etc/init.d/dovecot restart
Great, glad you got it!
Alternatively, if you have any SSL certificates setup for your Virtual Servers in Virtualmin, what you can go is go into Server Configuration -> Manage SSL Certificates, and click "Copy to Dovecot".
-Eric