Install Certbot in Ubuntu 20.4 @2021

Kamal Hossain - Nov 8 '21 - - Dev Community
sudo apt-get update
sudo apt-get install certbot
sudo apt-get install python3-certbot-nginx
Enter fullscreen mode Exit fullscreen mode

If you get stuck in apt update any how then just run

sudo apt-add-repository -r ppa:certbot/certbot
sudo apt update
sudo apt-get update
Enter fullscreen mode Exit fullscreen mode

ref

Enable ssl

If you have pointed the domain to ec2 IP then enable the ssl by:

certbot --expand --nginx --no-redirect --non-interactive --agree-tos --register-unsafely-without-email -d YOUR-DOMAIN.com
Enter fullscreen mode Exit fullscreen mode

(Subdomain is also allowed)

. . . . . . . . . . . . . .
Terabox Video Player