I'm attempting to install Apache with SSL on CentOS6 to use as a development server.
I've been following the directions posted here to get SSL working: http://wiki.centos.org/HowTos/Https (Note: Apache was working fine until I attempted to enable SSL.)
When I got to part about re-starting Apache, the server wouldn't start. I just get an error which follows:
[Mon Feb 13 18:31:36 2012] [error] (13)Permission denied: Init: Can't open
server certificate file /etc/pki/tls/certs/ca.crt
I saw that the reported certificate was owned by my user and my group, so I changed it to root:root
but it made no difference. I'm not sure what else to try or what to look at. Thanks.
Note: My questions is similar to this but the error is different.
restorecon -RvF /etc/pki
. I ran this as a precaution and now the server starts.