Issue
I'm trying to install certbot on my digital ocean droplet. I'm using ubuntu 20.04 and following instructions from https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx.
The error occurs when I run sudo certbot --nginx
. The error I get is:
The nginx plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError("Could not find a usable 'nginx' binary.
Ensure nginx exists, the binary is executable, and your PATH is set correctly.")
This is my first time using digital ocean and such so please explain the solution. Thank you.
Solution
looks like theres problem with certbot snap package, you can try to remove it from snap, and install certbot again with apt.
you can follow this tutorial.
Answered By - nothinux