DEV Community 👩‍💻👨‍💻

Kamal Hossain
Kamal Hossain

Posted on

Install Certbot in Ubuntu 20.4 @2021

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)

Top comments (0)

Dream Big


Use any Linode offering to create something unique or silly in the DEV x Linode Hackathon 2022 and win the Wacky Wildcard category.

Join the Hackathon <-