Action:
yum install httpd mod_ssl
httpd -t
Result:
AH00526: Syntax error on line 85 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty
CentOS 8 mod_ssl syntax error
Re: CentOS 8 mod_ssl syntax error
Looks like that's a change that now requires you to generate your own self signed cert (or a real one) rather than using a generic "snake-oil" one like previous releases.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 3
- Joined: 2019/09/24 18:23:45
Re: CentOS 8 mod_ssl syntax error
I just checked. In CentOS 7, installing mod_ssl creates /etc/pki/tls/certs/localhost.crt and /etc/pki/tls/private/localhost.key for you.