I ran the certbot --apache successfully but when i attempt to restart my apache i get this error. If it is important the apache server has userdirs enabled
sudo service apache2 start
* Starting web server apache2
Action 'start' failed.
The Apache error log may have more information.
The error log for more details says
[Mon Feb 26 19:51:21.757917 2018] [ssl:emerg] [pid 44267] AH02240: Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)
[Mon Feb 26 19:51:21.757971 2018] [ssl:emerg] [pid 44267] AH02312: Fatal error initialising mod_ssl, exiting.
The le-ssl.conf in sites available that cert bot made shows this
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /home/michael_risher/public_html/pathways
ServerName michael-tech.tk
ServerAlias www.michael-tech.tk
<Directory "/home/michael_risher/public_html/pathways">
Options Indexes FollowSymLinks
AllowOverride FileInfo Options
allow from all
# Require all granted
</Directory>
SSLCertificateFile /etc/letsencrypt/live/michael-tech.tk/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/michael-tech.tk/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/michael-tech.tk/chain.pem
</VirtualHost>
</IfModule>
even after disabling both the ssl and nonssl conf apache is unable to start and i have no idea why. Only disabling the entire ssl mod will allow apache to start back up again.