How to add SSL to DigitalOcean WordPress Site

In here I am going to show you how to add a Let’s Encrypt SSL cert to Ubuntu server running apache2.
First, add the repository:

sudo add-apt-repository ppa:certbot/certbot

Then is a good idea to update your system

sudo apt-get update -y

Install Certbot

sudo apt-get install python-certbot-apache

Set up the SSL certificate

sudo certbot –apache -d example.com -d www.example.com

Verifying Certbot Auto-Renewal

sudo certbot renew –dry-run

ADD-APT-REPOSITORY: COMMAND NOT FOUND FIX

sudo apt-get install python-software-properties
sudo apt-get install apt-file
apt-file update
apt-file search add-apt-repository
sudo apt-get install software-properties-common

Log In

How to Use Docker + Webtop to Secure Your Online Activities