By Dave Merwin
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
If you are running Apache, then I would suggest using the following command:
sudo certbot --apache -d example.com -d www.example.com
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.