PDA

View Full Version : ServerCP SSL (snakeoil)


kenzie
09-28-2006, 11:48 AM
I've installed a crt from the control panel which works for my domain, but when I log into the control panel securely (https:3500) I'm seeing an expired certificate for snakeoil.dom

How do I get rid of that and replace it with my own self signed cert?

Thanks.

kenzie
09-28-2006, 09:00 PM
I'd alos like to do the same for the mail server.

kenzie
09-29-2006, 06:04 AM
Found an answer here: http://discuss.zervex.com/showthread.php?t=554

(It didn't show up in a search because SSL is too short a word.)

((It also doesn't work for me.))

LeeJ
09-29-2006, 08:04 AM
Be sure to make backups the original files before making any changes. Errors caused by inserting the wrong cert/key combination could cause your mailserver not to work properly. If you make a change and the mail server breaks put the orignial files back and then restart.

ServerCP modify the below file.
/var/db/dsm/dsm.pem

All certs used by courier are stored in the directory below.
/usr/lib/courier/share/rootcerts

In your /etc/courier/esmtpd file. Modify the below line to point to your cert.
TLS_CERTFILE=/usr/lib/courier/share/esmtpd.pem

Also, do the same for the files imapd-ssl, pop3d-ssl and esmtpd-ssl.

After that restart the mail server.