YT07‐Enable HTTPS (SSL) - zhamri/CSC584-Enterprise_Programming GitHub Wiki

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