Using Let’s Encrypt to secure my site

Its super easy to use the free Let’s Encrypt ssl certificate to secure Apache on Digital Ocean

I host a several web sites at Digital Ocean and am very happy with their service. Today offered further confirmation. Digtal Ocean partnered with Let's Encrpt

Following the excellent article by Erika Heidle's How To Secure Apache with Let's Encrypt on Ubuntu 16.04, I setup https or SSL on robertpavlovich.design a site I'm building with a friend. From beginning to end took only 20 minutes. From my perpsective In 2017 with free and easy solutions there is no good reason not to secure your website.

Step 1 — Install the Let's Encrypt Client

sudo add-apt-repository ppa:certbot/certbot

sudo apt-get update

sudo apt-get install python-certbot-apache

Step 2 — Set Up the SSL Certificate

sudo certbot --apache -d robertpavlovich.design

sudo certbot --apache -d robertpavlovich.design -d www.robertpavlovich.design

When the installation is finished, you should be able to find the generated certificate files at /etc/letsencrypt/live. You can verify the status of your SSL certificate with the following link (don’t forget to replace example.com with your base domain):

https://www.ssllabs.com/ssltest/analyze.html?d=robertpavlovich.design&latest

Step 3 — Set Up Auto Renewal

sudo crontab -e Add this command so that cron tries to renew cert every day. 15 3 * * * /usr/bin/certbot renew --quiet

Links

Tags:


← Previous maptimeLA meetup notes Using Perch layouts and SVG Next →