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

June 16, 2017 2.8k views
WordPress Let's Encrypt Ubuntu 16.04

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?

1 Answer


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.


Have another answer? Share your knowledge.

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