[CentOS] httpd ssl problems

m.roth at 5-cent.us m.roth at 5-cent.us
Tue Jul 9 21:18:02 UTC 2013


Nemrow, Jason wrote:
> Not much of a noob, but I will try.
>
> I just configured httpd and installed mod_ssl and got my certificate from
> GoDaddy and put them on the server with ssl.conf pointing at them.  I am
> getting this error:
>
> SSLCertificateFile: file '/etc/pki/tls/certs/enmu.edu.crt' does not exist
> or is empty
>
> It's a cute error. I have checked several times for misspellings, looked
> at the enmu.edu.crt file (looks like a cert to me) and I can certify that
> it is not empty and it most certainly exists. Want some proof? Here...
>
> [root at itsnv607 ~]# ls -l /etc/pki/tls/certs

First, could you do ls -la /etc/pki/tls/certs? I'd like to know if the
directory was readable/executable for apache.
>
> Just for fun, I started playing with permissions, just in case that
> mattered (it didn't). You can see that enmu.edu.crt is there, where it is
> supposed to be, and is not empty.
>
> What would cause this error besides what it actually says?

Also, run getenforce

    mark




More information about the CentOS mailing list