Error message:
The following plugins are using an outdated python version and must be updated to be compatible with Certbot 3.0. Please see https://community.letsencrypt.org/t/certbot-3-0-could-have-potential-third-party-snap-breakages/226940 for more information:
* certbot-dns-hetzner
usage:
certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: --dns-hetzner-credentials /home/ploi/.ploi/.certbot-hetzner
The plugin certbot-dns-hetzner is installed through a snap created by a third party. This repository was archived in 28/02/2023 so the snap is outdated.
Trying to install with pip (as recommended by the plugin repo) does not work because it would involve uninstalling system python packages.
Any solution?
·
·
I got it to work by manually installing certbot standalone:
snap remove certbotsnap remove certbot-dns-hetzner- Manually install certbot the official way: https://certbot.eff.org/instructions?ws=nginx&os=pip
- Install the certbot-dns-hetzner package into the venv:
sudo /opt/certbot/bin/pip install certbot-dns-hetzner certbot --version # should not throw an errorcertbot plugins # should list certbot-dns-hetzner
There is another issue with this, though, because of API changes at Hetzner: https://roadmap.ploi.io/projects/7-bugs/items/1363-hetzner-changes-dns-infrastructure
no votes yet