Categories
Hosting Tutorial

Digital Ocean WordPress Droplet SSL Setup Guide

Learn how to install free lets encrypt ssl certificate for your digital ocean wordpress droplet.

To watch how to install wordpress on digital ocean for free – https://youtu.be/2KJ3FBj3f4g

Referral link for free $100 digital ocean credit : – https://smarthelpguides.com/do

Buy domain name – https://smarthelpguides.com/wpstart

Step 1 – Install Letsencrypt CertBot

First, add the repository:

sudo add-apt-repository ppa:certbot/certbot

You’ll need to press ENTER to accept.

Afterwards, update the package list to pick up the new repository’s package information:

sudo apt-get update

And finally, install Certbot from the new repository with apt-get:

sudo apt-get install python-certbot-apache

The certbot Let’s Encrypt client is now ready to use.

Step 2 — Set Up the SSL Certificate

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

Step 3 – Verifying Certbot Auto-Renewal

sudo certbot renew –dry-run