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