首页 > 代码库 > 启动httpd服务:SSLCertificateFile: file '/var/www/miq/vmdb/certs/server.cer' does not exist or is empty
启动httpd服务:SSLCertificateFile: file '/var/www/miq/vmdb/certs/server.cer' does not exist or is empty
启动httpd服务,失败:
[root@test vmdb]# service httpd restartStopping httpd: [FAILED]Starting httpd: Syntax error on line 17 of /etc/httpd/conf.d/cfme-https-application.conf:SSLCertificateFile: file ‘/var/www/miq/vmdb/certs/server.cer‘ does not exist or is empty [FAILED]
网上搜了下,说与selinux相关,想到之前设置samba服务,开机自启动,并允许外部访问,曾经修改过selinux配置。
然后关闭selinux:
setenforce 0
再启动httpd服务:
service httpd start
启动成功!
参考资料:https://www.centos.org/forums/viewtopic.php?t=28657
启动httpd服务:SSLCertificateFile: file '/var/www/miq/vmdb/certs/server.cer' does not exist or is empty
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。