miigotu / certbot-dns-godaddy

A godaddy dns plugin using lexicon for cerbot to authenticate and retrieve letsencrypt certificates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Certbot unable to authenticate with GoDaddy's API

IVCrossway opened this issue · comments

I'm using nginx 2.10.4 (latest docker release) with certbot-dns.godaddy 2.6.0. I can no longer renew certificates. The log says that it is not authorized to access godaddy's api.

dns_godaddy_secret and dns_godaddy_key are working fine since using them with curl reports:
[{"createdAt":"2023-06-14T21:53:10.000Z","domain":"xxx.it","domainId":3xxxx9,"expirationProtected":false,"expires":"2024-06-14T21:59:59.000Z","exposeWhois":false etc...

2023-10-26 20:36:46,558:DEBUG:certbot._internal.error_handler:Calling registered functions
2023-10-26 20:36:46,559:INFO:certbot._internal.auth_handler:Cleaning up challenges
2023-10-26 20:36:46,570:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.godaddy.com:443
2023-10-26 20:36:46,775:DEBUG:urllib3.connectionpool:https://api.godaddy.com:443 "GET /v1/domains/xxx.it HTTP/1.1" 401 98
2023-10-26 20:36:46,780:DEBUG:certbot_dns_godaddy:Encountered error finding domain_id during deletion: Error determining zone identifier for xxx.it: 401 Client Error: Unauthorized for url: https://api.godaddy.com/v1/domains/xxx.it.

There is a new version that uses the latest lexicon and certbot, which should fix this issue. If not, feel free to let me know in this issue and I will reopen.