I'm using Ubuntu 20.04.02 LTS and having issues with certbot. For a few weeks, I cannot renew my certificates.
CLI: certbot certonly --manual --preferred-challenges dns -d *.soc-bd.nl -d soc-bd.nl
I get the following error log:
aving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
An unexpected error occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/models.py", line 379, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 392, in parse_url
return six.raise_from(LocationParseError(source_url), None)
File "", line 3, in raise_from
urllib3.exceptions.LocationParseError: Failed to parse: https://acme-v02.api.letsencrypt.org/directory
During handling of the above exception, another exception occurred:
requests.exceptions.InvalidURL: Failed to parse: https://acme-v02.api.letsencrypt.org/directory
Please see the logfiles in /var/log/letsencrypt for more details.
Any idea what could be wrong? I have reinstalled urllib3 and certbot. Doesn't clear the issue.