These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Recreate dovecot.pem certs on the new forum.
Hi,
How do I recreate the dovecot.pem certificate. I had installed virtualmin with a test hostname and the server now has the proper hostname, but when connecting to the mail server with imap I get a certificate warning stating that the old server name has issued the dovecot cert. I have changed the hostname and mailname to the correct name, but I need to regenerate for dovecot.
Thanks,
Andrew
Howdy,
Those certs are setup by Dovecot when that package is installed.
You can use Virtualmin to create a new SSL cert, and copy that out to Dovecot.
There's instructions here on how to add an SSL cert to one of your Virtual Servers:
https://www.virtualmin.com/documentation/tutorial/how-to-add-an-ssl-cert...
Once you do that, you'll be able to go into Server Configuration -> Manage SSL Certificates, and click the "Copy to Dovecot" button,
-Eric