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

Gandi Live DNS Depricated #4836

Closed
FreakyBigFoot opened this issue Oct 21, 2023 · 3 comments
Closed

Gandi Live DNS Depricated #4836

FreakyBigFoot opened this issue Oct 21, 2023 · 3 comments

Comments

@FreakyBigFoot
Copy link

Gandi has deprecated the live DNS API Keys. Is there another method planned to be able to accomplish DNS checks?

@acmesh-official acmesh-official deleted a comment from github-actions bot Oct 22, 2023
@Neilpang
Copy link
Member

Is there any announcement ?

@FreakyBigFoot
Copy link
Author

They deprecated the API and now use an application key. Since this change has occurred it seems it's no longer possible to renew certificates.

@helix-loop
Copy link

helix-loop commented Nov 29, 2023

The announcement for the deprecation of DNS API Keys in favor of Personal Access Tokens is here: https://docs.gandi.net/en/account_management/security/developer_access.html

The description of PAT is here: https://docs.gandi.net/en/managing_an_organization/organizations/personal_access_token.html

I also had problems to renew certificates via DNS API Keys and had to renew manually, because neither DNS API Keys nor PAT are working with acme.sh at the moment.

I found this issue and the file where I expect Gandi LiveDNS API to be handled within acme.sh:

https://github.com/acmesh-official/acme.sh/blob/master/dnsapi/dns_gandi_livedns.sh

There is the following line defining the API URL:
GANDI_LIVEDNS_API="https://dns.api.gandi.net/api/v5"

However this URL is "https://api.gandi.net/v5/livedns" according to https://api.gandi.net/docs/livedns/

Should the URL be changed to support Gandi LiveDNS API again in acme.sh?

I was able to successfully renew a certificate via Gandi LiveDNS API using the proposed change of the URL.

rparenton added a commit to rparenton/acme.sh that referenced this issue Jan 7, 2024
1. Updated LiveDNS API URL for the new API
2. Updated authorization header syntax for deprecated API Keys to work with the new API
rparenton added a commit to rparenton/acme.sh that referenced this issue Jan 11, 2024
1. Updated LiveDNS API URL for the new API to allow Personal Access Tokens to work
2. Updated authorization header syntax to allow deprecated API Keys to work with the new API
rparenton added a commit to rparenton/acme.sh that referenced this issue Jan 12, 2024
1. Updated LiveDNS API URL for the new API to allow Personal Access Tokens to work
2. Updated authorization header syntax to allow deprecated API Keys to work with the new API
3. Removed white space in JSON response parsing to match responses returned by the server
Neilpang added a commit that referenced this issue Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants