Let’s Encrypt on Ubuntu 16.04: A Free SSL Certificate

This morning I have a subtask on a private project that was perfect for a blog post.  I recently setup a new Ubuntu server to host a landing page site.  When I logged in the consoles login screen says:

Let's Encrypt has been pre-installed for you. If you have a domain name, and
you will be using it with this 1-Click app, please see: http://do.co/le-apache

Here I go to getting a free ssl cert for this server:

  • sudo add-apt-repository ppa:certbot/certbot
  • sudo apt-get update
  • sudo apt-get install python-certbot-apache
  • sudo certbot –apache -d example.com

And voila, my website works on ssl for free.     The last task is to just automate renewal with a simple cronjob:

    • 15 3 * * * /usr/bin/certbot renew --quiet


Normally the SSL process for a new website is much more of a pain in the ass.