Let’s Encrypt powered by Certbot on Self-Hosted WordPress Site

Adding SSL (Well, TLS) to a website has never been easier. I recently started hosting 3 different WordPress sites (this being one of them).

With the use of Let’s Encrypt’s support for SNI I don’t need multiple public IPs… awesome.

I did this on Ubuntu 16.04.3:

sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache 

sudo certbot –apache

(when prompted, added all sites including www.) I did this twice, first time I was using all default sites in apache, this gives the error about unable to determine domain name, when I did it on the vHosts version, it populated the sites automatically.

sudo certbot renew --dry-run

This was just to test the renewal process (that it works).

crontab -e
0 0 * * * certbot renew


On a side note, I did have to go in and in a couple of key places on in WordPress, change the domain to include the https:// rather than http://. If I hadn’t, the encrypted lock has the warning that some of the media (specifically uploaded before the SSL add-on) will permanently have the http:// on the embedded address.

Futher Reading:


This entry was posted in Technical and tagged , , , , . Bookmark the permalink.

3 Responses to Let’s Encrypt powered by Certbot on Self-Hosted WordPress Site

  1. My developer is trying to convince me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using WordPress on a number of websites for about a year and am nervous about switching to another platform. I have heard great things about blogengine.net. Is there a way I can transfer all my wordpress content into it? Any help would be greatly appreciated!
    imitation bulgari bague http://www.venditagioielli.ru/fr/high-imitation-bvlgari-bzero1-ring-pink-gold-and-white-ceramic-pave-diamonds-p23.html

    • JKV says:

      I wouldn’t know for sure, I assume (or would think) there may be some ‘conversion’ software to move and translate all of your site to .NET. When I deal with ideas like that, my go-to response is to point out “Who is going to maintain this site?” If the answer is your boss, then do what he is comfortable with, if the answer is you, then your familiarity and comfort with the language/solution should be paramount, if it is a new .NET developer you’ve hired, then fine, but he should handle the conversion as he will be the one to support it.

      • JKV says:

        Oh as I re-read your comment, it is your developer changing your site (you as the customer). As the customer I would say ‘no’ plus WordPress is more widely used (so you can jump to a new provider if desired). .NET will lock you in with him longer.

Leave a Reply