Certbot with Nginx and cloudflare DNS plugin (also doc issue)

Hi All,

I have been attempting to setup the certbot client with Nginx plugin, which has gone mostly ok (via https://www.nginx.com/blog/using-free-ssltls-certificates-from-lets-encrypt-with-nginx/ and https://medium.com/@saurabh6790/generate-wildcard-ssl-certificate-using-lets-encrypt-certbot-273e432794d7). However, I tend to use Nginx as a Reverse Proxy and was getting some errors as the files in the /.well-know folder cannot be found, but I did get one virtual server to work, so I guess this is just a config issue.

In any case, I would also like to setup a wildcard certificate to use in some virtual servers so would need DNS authentication and wanted to do this using the Cloudflare plugin, On the Certbot documentation page (https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx), it states that you can use a DNS plugin with the Nginx plugin as well, and that:

To install one of these plugins, run the installation command above but replace python-certbot-nginx with the name of the DNS plugin you want to install.

Given this instruction, and the the instruction above was to run:

sudo apt-get install python-certbot-nginx 

I would then expect the to install the plugin you could use:

sudo apt-get install certbot-dns-cloudflare

Although this fails as the package cannot be found. I suspect that you should install the plugin as a python package using pip, but the documentation should make this clear, and some confirmation would be great.

Cheers

On Ubuntu Bionic, the apt package is python3-certbot-dns-cloudflare.

Perfect - that should go in the docs :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.