Closed markebjones closed 5 years ago
Yeah, kind of. That's because urllib
is the worst thing on earth to use for Python 2/3 compatible code.
After digging through the code it appears that requests
already handle the encoding for me.
I just committed the fix. Can you confirm that it works @markebjones ?
I also took the opportunity to release it on PyPI https://pypi.org/project/certbot-plugin-gandi/
Awesome. Thanks! I will test it at the weekend and let you know how it goes. :)
Tested this today and works perfectly. Thank you.
I forgot to update the plugin through pip, which confused me for a few minutes.
I've added the update command to a README file in pull request, and fixed a typo in one of the commands.
Feel free to do with that what you like. :)
I get an error when I run this command with Python 3.6.7 installed on Ubuntu 18:
certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials gandi.ini -d domain.com -d \*.domain.com --server https://acme-v02.api.letsencrypt.org/directory
Error message:
I think it's similar to this but I'm not sure. Any ideas how to resolve?