Server should be SSL-aware but has no certificate

A super detailed tutorial: springboot integrates mybatis plus>>>

After configuring SSL for operation and maintenance, Apache cannot be started. The error is as follows

[Tue Mar 17 16:23:36 2015] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)

Solution Programme:

<virtualhost *:443>
  ...
  SSLEngine on
  SSLCertificateFile /etc/pki/tls/certs/localhost.crt
  SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
</virtualhost>

Reboot success

Similar Posts: