Hello everybody !
I have a problem with the default certificate in IPSConfig. I have an ISPConfig on debian Sarge (perfect setup howto tutorial). My server is on but when i connect to the webmail i have a security error what say that the owner of the certificate is
www.snakeoil.dom. I know that this is the default domain when ssl is installed. How can i regenerate this certificate whis my own domain server ? I have find this on the forum :
Code:
openssl genrsa -des3 -passout pass:yourpassword -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024
openssl req -new -passin pass:yourpassword -passout pass:yourpassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr -days 365
openssl req -x509 -passin pass:yourpassword -passout pass:yourpassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -in /root/ispconfig/httpd/conf/ssl.csr/server.csr -out /root/ispconfig/httpd/conf/ssl.crt/server.crt -days 365
openssl rsa -passin pass:yourpassword -in /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.key/server.key
chmod 400 /root/ispconfig/httpd/conf/ssl.key/server.key
Is it ok with this code ?
Thanks for your help
Recent comments
5 hours 37 min ago
10 hours 30 min ago
19 hours 22 min ago
20 hours 22 min ago
1 day 9 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 12 hours ago
1 day 21 hours ago
1 day 22 hours ago