Issue using certbot with nginx

I was trying to create Let’s Encrypt certificate using certbot for my sub-domain and had the following issue. Command: ubuntu@localhost:~$ certbot –nginx -d my_subdomain.website.com -d my_subdomain2.website.com Issue: The requested Nginx plugin does not appear to be installed Solution: Ubuntu 20+ ubuntu@localhost:~$ sudo apt-get install python3-certbot-nginx Earlier Versions ubuntu@localhost:~$ sudo apt-get install python-certbot-nginx

E: The repository ‘http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release’ does not have a Release file

I got rid of the error message on Ubuntu 20.04 by removing the ppa repository. It took me a long time to find out the exact command argument, so this might help others :-). I used the command: sudo apt-add-repository -r ppa:certbot/certbot After that, the following commands do not generate any errors: sudo apt update … Read more

How to renew only one domain with certbot?

Renew a single certificate using renew with the –cert-name option. (certonly creates a certificate for one or more domains, replacing it if exists). Example certbot renew –cert-name domain1.com –dry-run Remove –dry-run to actually renew. Cert-name != Domain name Note that the value supplied to –cert-name option is a certificate name (not a domain name) found … Read more