I set up a server from scratch to test out certbot for new installations.
Standard install for LAMP
I kept getting error messages about
- Unable to install the certificate <-- ERROR I AM REPORTING
- Congratulations! Your certificate and chain have been saved at:
Your key file has been saved at:
Your cert will expire on [DATE]. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the “certonly” option. To non-interactively renew all of
your certificates, run “certbot renew”
Edit the /etc/apache2/sites-enabled/ssl-[DOMAIN].conf file to point to the certificates.
directives to point to the correct path, and to change the permissions of those files to be 600
Steps to reproduce:
Fire up a new server
Add certbot and install.
Create DNS entries to point to the new server
run certbot --apache
Correct as above