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

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

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 Set the 'ServerName' directive globally to suppress this message Action 'start' failed. The Apache error log may have more information.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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:

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

Regards, Bobby