#ubuntu #ubuntulinux #ubuntuserver #ubuntututorial
Want to enable HTTPS for WordPress on WSL? In this video, I'll show you how to create a self-signed SSL certificate and configure Nginx for HTTPS to secure your local development environment.
Since Let's Encrypt requires a public domain, it won’t work on WSL (a local development environment). Instead, we’ll use a self-signed SSL certificate to enable HTTPS while working locally.
What You’ll Learn in This Video:
✅ Generate a self-signed SSL certificate using OpenSSL
✅ Configure Nginx to use HTTPS (port 443)
✅ Redirect HTTP to HTTPS automatically
✅ Update WordPress database to use HTTPS
By the end of this video, your WordPress site on WSL will be running with SSL encryption!
⏱️ Chapters (Timestamps) – Total Length: 23:44
00:00 Intro
01:15 Why Let’s Encrypt Doesn’t Work on WSL
03:40 Install OpenSSL & Create a Self-Signed SSL Certificate
08:25 Configure Nginx to Use HTTPS (SSL Setup)
12:50 Restart Nginx & Test HTTPS in Browser
17:15 Update WordPress to Use HTTPS in the Database
21:30 Final Test & Recap