Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jan 2007
SSLCertificateKeyFile "does not exist or is empty"
I'm new to linux - coming fromthe land of WinXP.... and am on a near vertical learning curve.
I'm on my second fresh install of apache from scratch and still trying to get things running.
The problem I have is indicated below. Apache config test complains about the cert file not being there, and next line shows that it is....
~ # rcapache2 extreme-configtest
Syntax: NOT OK:
Syntax error on line 70 of /etc/apache2/vhosts.d/vhost-ssl-<descriptive>.443.conf: SSLCertificateKeyFile: file '/etc/apache2/ssl.key/server.key' does not exist or is empty
~ # cat /etc/apache2/ssl.key/server.key
-----BEGIN RSA PRIVATE KEY-----
< some data here >
-----END RSA PRIVATE KEY-----
To ensure it is unsigned I've done the
~# openssl rsa -in server.key.bak -out server.key
thing, permissions are for all to read (I'll change this to rrot when everything is up and running)
If I comment out the SSLCertificateKeyFile line the config file passes Apache's test... but what affect will this have on my server?
Appreciate any help