HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   ISPConfig certificate expired, followed instructions, now can't access ISPConfig (http://www.howtoforge.com/forums/showthread.php?t=41247)

DennyCrane 22nd November 2009 18:26

[SOLVED] ISPConfig certificate expired, followed instructions, cant access ISPConfig
 
First of all, I am not sure whether we're using ISPConfig 2 or 3, and I don't know if that's relevant ...

When I tried to access ISPConfig today, I got a message about the certificate being expired, etc., so I did a Google search on how to update the ISPConfig certificate, and I got this:
http://docs.ispconfig.org/en-sandbox...page=faq#missc

I followed the instructions under "You can re-generate the ISPConfig SSL certificate like this:", inserting our root password in place of "yourpassword", then I restarted ISPConfig ... but now the admin interface is entirely inaccessible ("Unable to connect" error in Firefox). When I restart ISPConfig again, it says:

/etc/rc.d/init.d/ispconfig_server restart
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (pid 9682?) not running
ISPConfig system stopped!
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started

Please advise.

DennyCrane 22nd November 2009 18:34

Looks like there's more complete instructions here:
http://www.howtoforge.com/forums/sho...ficate+expired

Quote:

Originally Posted by falko (Post 358)
Try this:

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

Restart ISPConfig afterwards.



All times are GMT +2. The time now is 09:55.

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