-
-
Couldn't load subscription status.
- Fork 1.1k
Add DNS provider for Active24 #2478
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
Conversation
|
Wow, you are fast. REDACTED@ubuntu-server1:~/lego$ ACTIVE24_API_KEY="REDACTED" \
ACTIVE24_SECRET="REDACTED" \
./dist/lego -m [email protected] --dns active24 -d '*.REDACTED.com' -d REDACTED.com -s https://acme-staging-v02.api.letsencrypt.org/directory run
2025/03/10 21:59:04 No key found for account [email protected]. Generating a P256 key.
2025/03/10 21:59:04 Saved key to /home/REDACTED/lego/.lego/accounts/acme-staging-v02.api.letsencrypt.org/[email protected]/keys/[email protected]
2025/03/10 21:59:05 Please review the TOS at https://letsencrypt.org/documents/LE-SA-v1.5-February-24-2025.pdf
Do you accept the TOS? Y/n
y
2025/03/10 21:59:08 [INFO] acme: Registering account for [email protected]
!!!! HEADS UP !!!!
Your account credentials have been saved in your
configuration directory at "/home/REDACTED/lego/.lego/accounts".
You should make a secure backup of this folder now. This
configuration directory will also contain certificates and
private keys obtained from the ACME server so making regular
backups of this folder is ideal.
2025/03/10 21:59:08 [INFO] [*.REDACTED.com, REDACTED.com] acme: Obtaining bundled SAN certificate
2025/03/10 21:59:09 [INFO] [*.REDACTED.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz/REDACTED/REDACTED
2025/03/10 21:59:09 [INFO] [REDACTED.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz/REDACTED/REDACTED
2025/03/10 21:59:09 [INFO] [*.REDACTED.com] acme: use dns-01 solver
2025/03/10 21:59:09 [INFO] [REDACTED.com] acme: Could not find solver for: tls-alpn-01
2025/03/10 21:59:09 [INFO] [REDACTED.com] acme: Could not find solver for: http-01
2025/03/10 21:59:09 [INFO] [REDACTED.com] acme: use dns-01 solver
2025/03/10 21:59:09 [INFO] [*.REDACTED.com] acme: Preparing to solve DNS-01
2025/03/10 21:59:10 [INFO] [REDACTED.com] acme: Preparing to solve DNS-01
2025/03/10 21:59:10 [INFO] [*.REDACTED.com] acme: Trying to solve DNS-01
2025/03/10 21:59:10 [INFO] [*.REDACTED.com] acme: Checking DNS record propagation. [nameservers=127.0.0.53:53]
2025/03/10 21:59:12 [INFO] Wait for propagation [timeout: 1m0s, interval: 2s]
2025/03/10 21:59:20 [INFO] [*.REDACTED.com] The server validated our request
2025/03/10 21:59:20 [INFO] [REDACTED.com] acme: Trying to solve DNS-01
2025/03/10 21:59:20 [INFO] [REDACTED.com] acme: Checking DNS record propagation. [nameservers=127.0.0.53:53]
2025/03/10 21:59:22 [INFO] Wait for propagation [timeout: 1m0s, interval: 2s]
2025/03/10 21:59:25 [INFO] [REDACTED.com] The server validated our request
2025/03/10 21:59:25 [INFO] [*.REDACTED.com] acme: Cleaning DNS-01 challenge
2025/03/10 21:59:26 [WARN] [*.REDACTED.com] acme: cleaning up failed: active24: find record ID: no record found
2025/03/10 21:59:26 [INFO] [REDACTED.com] acme: Cleaning DNS-01 challenge
2025/03/10 21:59:26 [WARN] [REDACTED.com] acme: cleaning up failed: active24: find record ID: no record found
2025/03/10 21:59:26 [INFO] [*.REDACTED.com, REDACTED.com] acme: Validations succeeded; requesting certificates
2025/03/10 21:59:26 [INFO] Wait for certificate [timeout: 30s, interval: 500ms]
2025/03/10 21:59:27 [INFO] [*.REDACTED.com] Server responded with a certificate.Content of |
|
I added some debug logs to diagnose the problem with the record deletion. |
|
Ok, I think I got it. Relevant output record: Currently you check lego/providers/dns/active24/active24.go Line 211 in 44e2e96
Another interesting thing, the output in lego/providers/dns/active24/active24.go Line 193 in 44e2e96
|
|
I updated the code, can you try again? |
|
Yes, now everything works. Maybe I would just add note about the API filter not working in case its relevant in the future. lego/providers/dns/active24/active24.go Line 192 in 44e2e96
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
go mod tidyPing @foxtrotcz, can you run the command (with your domain, email, credentials, etc.)?
Closes #2477
How to test this PR?
git clone https://github.com/ldez/lego.git cd lego git checkout ldez:wip/active24make:make buildmake:go build -o dist/lego ./cmd/lego