Hello there,
I wonder if anyone can help in this instance. I have installed XAMPP and it works very good, when we obtained or digital certificate from the CA and placed both the certificate file and the private key in ssl.crt and ssl.key and changed on ssl.conf and httpd.conf as well.
When I run lampp start
it prints out:
Starting XAMPP for Linux 1.5.0
Starting Apache with SSL (and PHP5)...
and it keeps like this forever, niether there is an error message nor correct starting.
If I try to go to http://mydomain.com, it does serve the pages, while if I try https://mydomain.com it gives file not found error. Again if I point to the default files server.crt and server.key it works fine for both http and https.
I have checked error_log file and here is the error log
[Thu Dec 22 00:30:00 2005] [error] Init: Unable to read pass phrase [Hint: key introduced or changed before restart?]
[Thu Dec 22 00:30:00 2005] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[Thu Dec 22 00:30:00 2005] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Thu Dec 22 00:30:00 2005] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Thu Dec 22 00:30:00 2005] [error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
It seems like there is error related to the pass phrase but what is it or how can I solve it, I have no idea.
Please if you faced this before or if you have any idea let me know. Any help will be much appreciated.
Thank you.
Emad