Question

How to restart Apache2 after installing Let's Encrypt certificate?

Posted March 25, 2020 225 views
ApacheLet's Encrypt

We can’t restart Apache2 server after following the instructions to install a SSL certificate for a subdomain via Let’s Encrypt. (eg. subdomain.domian.co)


AH01574: module proxy_module is already loaded, skipping
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/ports.conf:8
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Action 'start' failed.
The Apache error log may have more information.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

AH02240: Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile]
AH02312: Fatal error initialising mod_ssl, exiting.

We tried changing all conf instances of ‘SSLEngine on’ to 'off’ and restart Apache to no avail.

Hi there @Jackpine,

I would recommend following the steps from this answer on how to troubleshoot common Apache problems:

https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-apache-issues-on-linux-server

Feel free to share the output of the commands here so that I could try to advise you further.

Regards,
Bobby

Submit an Answer