How do I apply a Let's Encrypt SSL Certificate to a Wordpress Droplet?

There are two tutorials that I have been bouncing back and forth between. They are:


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 -d

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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.


If you are running Apache, then I would suggest using the following command:

sudo certbot --apache -d -d

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