There are two tutorials that I have been bouncing back and forth between. They are:
and
Neither of these tutorials actually work. I’m sure they work for some, but these haven’t worked for me.
I’ve gone back and forth with support about this when finally they said:
I see the problem now. Certbot only attempts connection via HTTPS when using the Apache plugin. So we are going to use the manual webroot plugin instead for first time setup. Try running this command instead:
sudo certbot certonly --webroot -w /var/www/html -d domain.org -d www.domain.org
So, that creates the cert, but then the instructions don’t work anymore.
I can’t be the first person to be doing this. Any suggestions on what to do next?
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.
Hello,
If you are running Apache, then I would suggest using the following command:
If this does not work, you could share the error that you are getting here so that I could try to advise further.
Regards, Bobby