I tried to renew my certs, but get an Authentication error. This is the first time I tried to renew since installing the certs. The letsencrypt log shows there is an error when trying to access the Linode API (see below). The Linode API key has not changed and has not expired. Any thoughts/ideas will be greatly appreciated. Thanks
My domain is:
aap.frostycoder.net, www.frostycoder.net
I ran this command:
certbot renew
It produced this output:
Failed to renew certificate aap.frostycoder.net-0001 with error: Unexpected error determining zone identifier for aap.frostycoder.net: Linode api error: [{'ERRORMESSAGE': 'Authentication failed', 'ERRORCODE': 4}]
LOG FILE:
2021-04-02 16:07:18,638:DEBUG:acme.client:Storing nonce: XXX
2021-04-02 16:07:18,639:INFO:certbot._internal.auth_handler:Performing the following challenges:
2021-04-02 16:07:18,639:INFO:certbot._internal.auth_handler:dns-01 challenge for www.XXX.net
2021-04-02 16:07:18,641:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.linode.com:443
2021-04-02 16:07:18,787:DEBUG:urllib3.connectionpool:https://api.linode.com:443 "GET /api/?api_key=XXX&resultFormat=JSON&api_action=domain.list HTTP/1.1" 200 None
2021-04-02 16:07:18,789:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/snap/certbot/1042/lib/python3.8/site-packages/certbot/plugins/dns_common_lexicon.py", line 91, in _find_domain_id
self.provider.authenticate()
File "/snap/certbot-dns-linode/current/lib/python3.8/site-packages/lexicon/providers/base.py", line 69, in authenticate
return self._authenticate()
File "/snap/certbot-dns-linode/current/lib/python3.8/site-packages/lexicon/providers/linode.py", line 30, in _authenticate
payload = self._get('domain.list')
File "/snap/certbot-dns-linode/current/lib/python3.8/site-packages/lexicon/providers/base.py", line 142, in _get
return self._request('GET', url, query_params=query_params)
File "/snap/certbot-dns-linode/current/lib/python3.8/site-packages/lexicon/providers/linode.py", line 141, in _request
raise Exception('Linode api error: {0}'.format(result['ERRORARRAY']))
Exception: Linode api error: [{'ERRORMESSAGE': 'Authentication failed', 'ERRORCODE': 4}]
My web server is (include version):
Apache2
The operating system my web server runs on is (include version):
Ubuntu 18.04.5 LTS
My hosting provider, if applicable, is:
Linode
I can login to a root shell on my machine (yes or no, or I don't know):
Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 1.13.0