Error message:
Jul 04 08:42:09
puppet.lab.net systemd[1]: Starting The Apache HTTP Server...
Jul 04 08:42:09
puppet.lab.net httpd[4009]: AH00526: Syntax error on line 23 of /etc/httpd/conf.d/puppetmaster.conf:
Jul 04 08:42:09
puppet.lab.net httpd[4009]: SSLCertificateFile: file '/etc/puppetlabs/puppet/ssl/certs/puppet.lab.net.pem' does not exist or is empty
Jul 04 08:42:09
puppet.lab.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
[root@puppet puppet]# cat /etc/puppetlabs/puppet/ssl/certs/puppet.lab.net.pem
-----BEGIN CERTIFICATE-----
MIIFmDCCA4CgAwIBAgIBAjANBgkqhkiG9w0BAQsFADAkMSIwIAYDVQQDDBlQdXBw
[root@puppet puppet]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[root@puppet puppet]# hostname
[root@puppet puppet]# puppet master --version
5.0.0
Reviewed the existing thread in the community and tried deleting /etc/puppetlabs/puppet/ssl and retried generating certificate using puppet and still same problem.
Any ideas?