Closed Giga-Pudding closed 4 months ago
You could install python3-pip directly within Debian and then run ''pip install certbot-dns-hetzner''. After installation add an additional parameter to the certbot command: "--plugin-dir /path/to/plugin/directory". BUT, that is not recommended, because you might introduce broken dependencies with packages already installed by the system.
The recommended way:
sudo apt-get remove certbot
virtualenv
package, you can do so with:
sudo apt-get install virtualenv
virtualenv -p python3 /path/to/your/virtualenv
Replace /path/to/your/virtualenv
with the path where you want to create the virtual environment.
source /path/to/your/virtualenv/bin/activate
pip install certbot certbot-dns-hetzner
Both, the Debian and PIP packages store the certificates in the same paths.
Hello,
for OS packaged versions of Certbot, there doesn't seem to be a python environment (in my case Debian 12). /usr/lib/python3/dist-packages/certbot/
Is there any way to use this plugin with packaged versions of certbot? Maybe by simply copying files to the correct location?
Thanks & best regards!