Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 506 Bytes

letsEncrypt.md

File metadata and controls

36 lines (25 loc) · 506 Bytes

Setting up Lets Encrypt

NEW

sudo apt install certbot python3-certbot-nginx

OLD

sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update

# For older even setups use python-certbot-nginx
sudo apt-get install python3-certbot-nginx

Check if firewall is enabled

sudo ufw status

Enable all

sudo ufw allow 'Nginx Full'
sudo ufw delete allow 'Nginx HTTP'

GET CERT

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