Does this mean a2enmod is failing to install? Anyone know of a fix? Thanks a2enmod

  • Have you configured and installed a valid SSL certificate on the system such that Apache can access and use it? Have you configured Apache to use that certificate? Does Apache have permission to read the certificate files? Enabling SSL on Apache is more complicated than just enabling the module. – Ketzak Feb 1 '18 at 1:23
  • Also, check the apache log files in /var/log/apache2/ particularly error.log – Ketzak Feb 1 '18 at 1:30
  • This and the following question seem to be duplicates. They're by the same user, about the same problem, within a few hours of each other: askubuntu.com/questions/1001892/… – Ketzak Feb 1 '18 at 1:50
  • 3

Based on your output, it would appear that you don't have SSL configured correctly. Configuring SSL is a fairly lengthy process, and the best way to answer that is to provide a good tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-with-a-free-signed-ssl-certificate-on-a-vps

Also, the actual Apache2 docs could be useful to you: https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.