Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Letsencrypt: GoDaddy wildcard certificate error #3746

Closed
rupert12pl opened this issue Sep 3, 2024 · 5 comments
Closed

Letsencrypt: GoDaddy wildcard certificate error #3746

rupert12pl opened this issue Sep 3, 2024 · 5 comments

Comments

@rupert12pl
Copy link

Describe the issue you are experiencing

The wildcard certificate does not work for letsencrypt.
For full-name domains, the certificate is generated correctly.

Logs:

s6-rc: info: service legacy-services successfully started
21:26:51] INFO: Selected DNS Provider: dns-godaddy
[21:26:51] INFO: Use propagation seconds: 60
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Renewing an existing certificate for xxx and 2 more domains
Error determining zone identifier for rob-m.de: 401 Client Error: Unauthorized for url: https://api.godaddy.com/v1/domains/xxx
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Let's Encrypt

What is the version of the add-on?

5.1.3

Steps to reproduce the issue

  1. domains: *.domain.com
    2.image
  2. Authentication credentials

For full-name domains, the certificate is generated correctly.

System Health information

Nothing to repair

Anything in the Supervisor logs that might be useful for us?

No response

Anything in the add-on logs that might be useful for us?

No response

Additional information

No response

@agners
Copy link
Member

agners commented Sep 5, 2024

@dim-0 do you have thoughts on this issue?

@dim-0
Copy link
Contributor

dim-0 commented Sep 5, 2024

Yes, unfortunately I do.

GoDaddy has changed their account requirements for using the production API.
In case of the DNS-related endpoints, you must be a customer with 10 domains or more and/or subscribe to their premium membership plan (see https://developer.godaddy.com/getstarted - last point under "API Access, Usage, and Limitations").
Insofar I believe, that this has nothing to do with wildcards.

This struck me the same way, as I had been using their API successfully in the past. Also, I don't understand the reason for this artificial limitation.
I should probably add a note to the documentation to warn other users about this caveat.

I myself am now looking for a domain registrar that offers a decent API, DNSSEC, and Whois-Protection. I haven't come to a final conclusion yet, though.

@agners
Copy link
Member

agners commented Sep 5, 2024

I should probably add a note to the documentation to warn other users about this caveat.

Or could we maybe even detect such a setting and error out ahead of calling the API? 🤔 But then, they might fix the API. We probably could just add a warning and let code continue, just in case this gets fixed API side 🤔

Copy link

github-actions bot commented Oct 5, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Oct 5, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2024
@dim-0
Copy link
Contributor

dim-0 commented Oct 14, 2024

I should probably add a note to the documentation to warn other users about this caveat.

#3799

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants