HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Change the ISPConfig SSL (http://www.howtoforge.com/forums/showthread.php?t=30641)

esezako 26th January 2009 11:43

Change the ISPConfig SSL
 
Hi, I need change the Common Name (CN) in the SSL Certificate of ISPConfig because when i enter in the ispconfig panel or in the webmail always i have a warning that not are equal the CN and the domain.
┐How can i make this change?
I have a ISPConfig 2.2.27 on Debian Etch, in production.
Thanks

till 26th January 2009 11:46

You will have to buy a signed SSL certificate if you want to access ispconfig without a warning and then replace the cert in /root/ispconfig/httpd/conf/ssl.... with this certificate.

esezako 26th January 2009 12:46

Well, only i need that not shown warning at all times.
If I change the CN then only will I see the warning the first time that i enter in the domain. Now I see the warning every time I enter the domain.
If I make my own ssl, what I have to replace file? And after i only need restart ispconfig?
Thanks

till 27th January 2009 12:12

Quote:

If I make my own ssl, what I have to replace file?
the files are in /root/ispconfig/httpd/conf/ssl....

The files to be repalced in the different directorey have the name server*

esezako 5th February 2009 12:14

Hi, i solucionate the problem with this:

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

and change the CN.

Thanks for all


All times are GMT +2. The time now is 13:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.