I’ve setup Certbot on Ubuntu, the certificate was created successfully outputting the following:
Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/bin-depot.co.uk/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/bin-depot.co.uk/privkey.pem
After restarting apache https was not working, it simply failed to connect so I ran:
sudo lsof -iTCP -sTCP:LISTEN -P
…and noted port 443 was not listed to (only port 80).
So I updated default-ssl.conf as shown in steps 3 & 4 here: tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04
After updating default-ssl.cons I ran: sudo a2ensite default-ssl.conf
…and got the message that default-ssl was enabled.
I then restarted Apache but am still unable to connect. It appears port 443 is still not configured.
I’m not sure what steps to take next. Any input would be appreciated. The domain is https://bin-depot.co.uk