--dns-cloudflare with no options-ssl-nginx.conf and ssl-dhparams.pem

My domain is:
test.domain.com.br

I ran this command:
certbot certonly --dns-cloudflare --dns-cloudflare-credentials /etc/animati/certbot/cloudflare.ini -d test.domain.com.br

It produced this output:
success.

My web server is (include version):
nginx version: nginx/1.20.2

The operating system my web server runs on is (include version):
Ubuntu 20.04.3 LTS

I can login to a root shell on my machine (yes or no, or I don't know):
yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 1.18.0

problem is:

the command --dns-cloudflare without --nginx is not creating the file "/etc/letsencrypt/options-ssl-nginx.conf" and the file "/etc/letsencrypt/ssl-dhparams.pem"

how could I create this files if no run certbot with --nginx ?
how could I configure nginx without this files?

You can separately select the authenticator and installer plugins with the -a and -i options respectively, to combine the dns-cloudflare authenticator and nginx installer.

You can read more about combining plugins in the certbot user manual here: User Guide — Certbot 1.21.0 documentation

4 Likes

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