I'm trying to install certbot on my haproxy server and issue certs for the domains it proxies. My host is an LXC container on Proxmox. This means i cannot use snap.
The container is running: Ubuntu 20.04.5 LTS
The lxc host is Debian 11.3 with proxmox
Certbot was installed via apt:
certbot --version
certbot 0.40.0
And is working fine when I use it with FreeDNS (afraid.org). However, I have recently moved my DNS and CDN to Cloudflare so the certificate validation via DNS also need fixing to match the my new provider.
Without snap how can i get the latest version of "dns-cloudflare-credentials" or at least version 2.3.1 or higher which allow the use of restricted API tokens vs global API Keys?
If your Linux distribution, which you haven't mentioned by the way, does not offer an up to date version of Certbot and the Cloudflare plugin (you need 1.2.0 or newer for token support) and snap is not an option, I would recommend to install Certbot and the plugin in their own Python venv using pip.
the apt instruction page to suggest people that require plugins which are unavailable via apt to use the pip install method instead for the complete installation.
and the same for snap, pointing people to the pip alternative in case snap is not an option.
It’s that exactly the problem? People that are unable to use snap all end up in a dead-end street. It would make sense to put a sign up to tell them where to go.