PDA

View Full Version : ISPConfig on multiple servers - Certificate error


martinfst
18th January 2007, 13:54
I just installed ISPConfig on the second server and I hit the "Invalid certificate' syndrome.
Reason: The site name used during certificate generation is pre-determined to be www (IIRC, can't scroll back so far in my ssh session window :( ). If this is true, shouldn't we change this to use the servername? Thus you can have multiple installations of ISPConfig on multiple servers in the same domain.

The main server (tld if you want) domain is the same on both servers in my case.
I'll go off now and regenerate the certs to fix this, but thought I'd just write this quick note. It will come back with each upgrade I'll do.....

till
18th January 2007, 14:48
I just checked the sources, it looks like the ISPConfig installer is not setting a site name. The installer calls just:

make certificate TYPE=custom

martinfst
18th January 2007, 15:00
Oke, you're using the default installer of Apache 1.3 I guess. I regenerated the certs (http://www.howtoforge.com/forums/showthread.php?t=1016) and I now have two servers happily running ISPConfig inside the same browser. Yes, I use FF2 on a Ubuntu WS for my client PC('s).

I just need to try to remember to do this when an update of ISPConfig comes along. Hey guys, don't work to hard on an update then yeah ? :D
I'll see if this can be modified in the install scripts whenever I have a spare minute.

djtremors
23rd February 2007, 13:49
I backup my certs between updates and put garbage on the installer. It really should make cert names like ispconfig.crt and ispconfig.key

next install, if it see them it doesn't regenerate them and reuse the old ones as part of the upgrade..nothing lost