[CentOS] httpd ssl problems

Gordon Messmer gordon.messmer at gmail.com
Thu Jul 11 01:17:55 UTC 2013


On 07/10/2013 09:51 AM, Nemrow, Jason wrote:
> Yep. I disabled SELinux and everything is working now for ssl and
> apache.  I will have to look later and study up on how to make
> SELinux work with this setup.


restorecon -R -v /etc/pki/tls

It sounds like you saved the crt file somewhere else first, and then 
used "mv" to place it in /etc/pki/tls/certs.  Use "cp" instead.  A file 
that's moved will keep its original SELinux context.  A file that's 
copied will be a new file, and will get its context from the parent 
directory.



More information about the CentOS mailing list