← All field notes
Platform 1 min read

Generate a free LetsEncypt SSL Certificate for your WordPress Site on AWS EC2 Ubuntu Instance

Prerequisites: Setup your EC2 Instance with Ubuntu Installed WordPress Site Installed CertBot Configured Ngnix Virtual Host for non SSL This guide assumes that you have already setup a WordPress site […]

Prerequisites:

  • Setup your EC2 Instance with Ubuntu
  • Installed WordPress Site
  • Installed CertBot
  • Configured Ngnix Virtual Host for non SSL

This guide assumes that you have already setup a WordPress site on your EC2 Ubuntu instance with Nginx with no SSL enabled.

SSH into your Ubuntu EC2 and run the following commands:

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

Follow the onscreen instructions and press option 2 to automatically edit your Nginx site virtual hosts file to redirect for SSL

Reload Nginx

sudo /etc/init.d/nginx reload

AS

Written by Alan Son

CTO judgment, grounded in delivery.

I build commercial AI products and help founders turn ambitious technical ideas into reliable production systems.

More about my work

Need an experienced technical partner?

Let’s work out the right next move.