Issue using certbot with nginx
You have to re-install a python3 version of Lets Encrypt's certbot.
Run
sudo apt-get install python3-certbot-nginx
You can install the Certbot nginx plugin with the following commands:
add-apt-repository ppa:certbot/certbot
apt update
apt install python-certbot-nginx
I was trying to create let'sencrypt certificate using certbot for my sub-domain and had following issue. Command :
ubuntu@localhost:~$ certbot --nginx -d my_subdomain.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
You will need to replace
apt install python-certbot-nginx
by
apt install python3-certbot-nginx