Linuxshell
2021-11-26405 chars

Letsencrypt & Certbot on Linux

Install on Linux

sudo apt install certbot

# or if you need the NGINX plugin
sudo apt install certbot python3-certbot-nginx

Obtain Certs

# Obtain cert automatically using the HTTP challenge with NGINX plugin
sudo certbot --nginx

# Obtain cert manually using DNS challenge
# https://eff-certbot.readthedocs.io/en/stable/using.html#manual
sudo certbot certonly --manual