Оригинальная инструкция: https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
sudo apt update
sudo apt install snapd
sudo snap install core; sudo snap refresh core
sudo apt-get remove certbot
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot --nginx
If you wish to add another SSL-certificate, just run:
sudo certbot certonly --nginx --agree-tos --expand -d secretic.app