Hello Everyone,
I am trying to install a Certificate for my server.
I followed the instructions from this website: https://latunyj.wordpress.com/2011/10/31/generating-self-signed-certificate-in-xampp-win32-for-apache-web-server/
Seeing as how there is no direct instructions on how to perform the installation with a Godaddy cert the tutorial above is the closest i have gotten to installing the cert save for the self signed certificate.
When i input the configurations and setup the Vhost and try to start the apache server i receive the following error.
[Mon May 15 01:46:31.315713 2017] [ssl:emerg] [pid 3856:tid 488] AH02562: Failed to configure certificate localhost:443:0 (with chain), check C:/xampp/apache/conf/ssl.key/server.key
[Mon May 15 01:46:31.315713 2017] [ssl:emerg] [pid 3856:tid 488] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: TRUSTED CERTIFICATE) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Mon May 15 01:46:31.315713 2017] [ssl:emerg] [pid 3856:tid 488] SSL Library Error: error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib
AH00016: Configuration Failed
My Vhost configuration
<VirtualHost *:443>
serverAdmin webmaster@lanitservices.com
DocumentRoot "C:/xampp/htdocs/public"
SSLEngine on
SSLCertificateKeyFile "C:/xampp/apache/conf/ssl.crt/server.crt"
SSLCertificateFile "C:/xampp/apache/conf/ssl.key/server.key"
</VirtualHost>
Checking my key file i see no spaces or extra lines using brackets as my editor. so could there be an issue with the file itself and how its being generated? i have regenerated a private key and CSR 3x times using 3 different tutorials and also rekeying with godaddy.
Any help would be appreciated.
Thanks,