Skip to content

YT07‐Enable HTTPS (SSL)

Zhamri Che Ani edited this page Apr 10, 2026 · 1 revision

Enable HTTPS (SSL)

1. Install Certbot

apt install certbot python3-certbot-nginx -y

2. Run

certbot --nginx -d csc584.yourdomain.com

3. Open firewall

If UFW is enabled:

sudo ufw allow OpenSSH
sudo ufw allow 'Nginx Full'
sudo ufw allow 8080
sudo ufw enable

4. Now your system is:

https://csc584.yourdomain.com

Clone this wiki locally