Certbot does now know how to configure my Apache webserver

I did that and it's still the same error message.

1 Like

which certbot

Certbot is installed with snap and I used the command

sudo certbot certonly --dns-cloudflare --dns-cloudflare-credentials ~/.secrets/certbot/cloudflare.ini --dns-cloudflare-propagation-seconds 60 -d "eclipseofbutterflies.ml,*.eclipseofbutterflies.ml" --dry-run

1 Like

Certbot doesn't seem to recognize that you have the dns-cloudflare plugin installed.

sudo certbot plugins

t seems so hmm should I remove both certbot and the plugin and reinstall?

1 Like

I highly recommend uninstalling ALL of your certbot packages and plugins (from snap too) and just starting clean (but leaving the /etc/letsencrypt directory) with this process:

sudo rm /etc/apt/preferences.d/nosnap.pref

sudo apt update

sudo apt install snapd

sudo snap install core

sudo snap refresh core

sudo snap install --classic certbot

sudo ln -s /snap/bin/certbot /usr/bin/certbot

sudo snap set certbot trust-plugin-with-root=ok

sudo snap install certbot-dns-cloudflare

Fixed everything thank you

1 Like

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