Page 1 of 1

Apache does not start after ssl cert re-keying

PostPosted: 14. July 2014 17:39
by dcornfel
I have been running XAMPP with apache and SSL on my 32 bit Win 7 computer for 2 years now. My ssl certificate with GO Daddy expired so I purchased and re-keyed a new one. To do this is I created a new private key, CSR file (which I uploaded to GoDaddy), and downloaded a new certificate and new bundled certificate file to my system. I moved the old ones out of my certs folder and moved the new ones in (both certificates and the private key) renaming the filed to what was previously in the folder and so I would not have to rename the links in my vhosts file. When I restart Apache it will not restart. If I copy the old files back into the certs file it restarts fine. Any insight into where my problem might be?

I actually have repeated this process 3 times now and it is still not working.

Any help is appreciated.

Thanks

Dan

Re: Apache does not start after ssl cert re-keying

PostPosted: 14. July 2014 18:04
by Altrea
Any log Information?

Re: Apache does not start after ssl cert re-keying

PostPosted: 14. July 2014 18:58
by dcornfel
yes, thank you for the response

[Mon Jul 14 13:58:51.261947 2014] [ssl:emerg] [pid 5404:tid 412] AH02245: Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/xampp/websites/cornfeld.info/certs/server.key)
[Mon Jul 14 13:58:51.262948 2014] [ssl:emerg] [pid 5404:tid 412] AH02312: Fatal error initialising mod_ssl, exiting.


Is this a common problem you have seen that I can fix?

Re: Apache does not start after ssl cert re-keying

PostPosted: 14. July 2014 19:26
by dcornfel
I solved the problem. I removed the passkey from the .key file. Apparently Apache does not work with passphrase encrypted keys on Windows.

Thank you for your help. If I had not gone through the exercise of posting question I would not have found the answer.

Dan