Koozali.org: home of the SME Server

SSL Certificates on SME 7.0

AiJ0k3r

SSL Certificates on SME 7.0
« on: July 10, 2006, 06:23:39 PM »
I have found a post on this forum on how to create an SSL Certificate but the problem that I have is that after I create one it changes back to a auto generated cert after a few days and then the name on the certificate does not match the name of the site, my server is named "mailserver"and the domain is mydomain.net.  The auto generated cert adds the mailserver to the name (mailserver.mydomain.net) and then it won't install

Thanks in advance for the help

AiJ0k3r

move to different directory
« Reply #1 on: July 10, 2006, 08:11:00 PM »
I moved the cert and key to a different directory and issued the commands below, it seems to be working fine now :-D


/sbin/e-smith/config setprop modSSL crt /path/to/certificate
/sbin/e-smith/config setprop modSSL key /path/to/keyfile
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

I would still like to know how to use the auto generated key if there is an easy way to have it put the domain name without the server name.