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 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

πŸš€ Join the DevOps Dojo! 🌟

Are you passionate about growth, learning, and collaboration in the world of DevOps? The DevOps Dojo is your new home! Whether you’re just starting out or looking to refine your skills, this vibrant community is here to support your journey.

πŸ”§ What You’ll Get:

  • Access to expert-led discussions
  • Hands-on learning opportunities
  • Networking with like-minded professionals

Ready to take your DevOps game to the next level? Click below to learn more and join the community!

πŸ‘‰ Join the DevOps Dojo Today

Let’s build, grow, and thrive together! 🌐

Leave a Comment