PDA

View Full Version : ISPConfig Inaccessible & SSL Cert Corrupted After Installation


giganet
30th October 2007, 20:05
SOLVED 10/02/2007

I used http://howtoforge.com/perfect_server_ubuntu7.10
after ISPConfig installation completes I am prompted that I should be able to access the admin panel by https://www.giganetwireless.net:81/...

In both FF and NS I receive warns indicating:
FireFox Message
Could not establish an encrypted connection because certificate presented by www.giganetwireless.net has an invalid signature
Netscape
Could not establish an encrypted connection because certificate presented by www.giganetwireless.net has an invalid signature. Error code:-8182
I have tried using http://www.howtoforge.com/faq/14_63_en.html
to generate a new SSL cert- step one works but step two always errors as found below?

root@giganetwireless:/etc/bind# openssl genrsa -des3 -passout pass:!$P_c1 -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024
openssl genrsa -des3 -passout pass:named.confP_c1 -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024
Generating RSA private key, 1024 bit long modulus
...............++++++
.......++++++
e is 65537 (0x10001)
root@giganetwireless:/etc/bind# openssl req -new -passin pass:!$P_c1 -passout pass:!$P_c1 -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr -days 365
openssl req -new -passin pass:1024P_c1 -passout pass:1024P_c1 -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr -days 365
unable to load Private Key
22195:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:461:
22195:error:0906A065:PEM routines:PEM_do_header:bad decrypt:pem_lib.c:425:


Thank you for your help with this matter...

Regards

till
31st October 2007, 09:05
Have a look here:

http://www.howtoforge.com/forums/showthread.php?t=121&highlight=8182

the commands posted by falko should work. Make sure that the password that you use does not contain any special chars that might get interpreted by the shall as commands.