LVLogo

python virtualenv are awesome ;) [certbot]

2020-05-25 — Thomas Raschbacher (LordVan)

So I was having a small issue on a server I cannot easily update where certbot was out of date and gave me this error: "Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA."
Took me a while due to some dependencies my last updates had skipped certbot and it was still quite old .. Digging around a bit I found out that the error I had might be fixed already. But without a good way to update it I was a bit stuck..
Then I remembered .. who said I had to use the system installed certbot.. so virtualenv to the rescue:

python3.7 -mvenv myenv
source myenv/bin/activate
pip install certbot

and then just run that certbot to renew my (dns - challenge, wildcard) certificate :) would've been a pain without virtualenv for sure

Python network "scanner" Quick'n dirty way to test my dolibarr -> tryton import scripts