启动httpd出现错误
Starting httpd: Syntax error on line 112 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/pki/tls/certs/ca.crt' does not exist or is empty
[FAILED]



$ openssl req -new -x509 -nodes -out server.crt -keyout server.key
These can be used as follows in your  httpd.conf  file:
             SSLCertificateFile    /path/to/this/server.crt
             SSLCertificateKeyFile /path/to/this/server.key
产生的.crt .key 文件拷到需要的目录就可以了
问题解决