Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Unable to issue/renew certificate anymore #124

Closed
hostalp opened this issue Aug 9, 2023 · 2 comments
Closed

Unable to issue/renew certificate anymore #124

hostalp opened this issue Aug 9, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@hostalp
Copy link

hostalp commented Aug 9, 2023

Recently I started having issues with the certificate renewal (worked a few months ago, but not any longer).

I0809 13:34:52.061900       1 main.go:78] Present: fqdn=_acme-challenge.somedomain.net., zone=somedomain.net., key=qUXCrf7evXjIQfBWEItLIwuCxzoDQCOpK5aRitCSMpc
I0809 13:34:52.061924       1 main.go:189] recordName: ResolvedZone=somedomain.net., ResolvedFQDN=_acme-challenge.somedomain.net.
I0809 13:34:52.066250       1 active24.go:37] FindTxtRecord: name=_acme-challenge, text=qUXCrf7evXjIQfBWEItLIwuCxzoDQCOpK5aRitCSMpc
E0809 13:34:52.295304       1 active24.go:41] "invalid API response" err="invalid response from api: 404" code="404 404"
  • Deployed using Helm chart v1.0.1 with image set to ghcr.io/rkosegi/cert-manager-webhook-active24:v1.0.1 (you've got it wrong in the v1.0.1 - it points to rkosegi/cert-manager-webhook-active24:1.0.1 which doesn't exist).
  • API key is correct (issued last year, still valid)
  • ClusterIssuer also appears correct (created last year, not changed since then)

Do you know if the Active24 API hasn't changed in any way?
I looked at https://api.active24.com/swagger-ui.html and tried some manual requests to get some records (using my API key) - those work and it appears to match what the https://github.com/rkosegi/active24-go/blob/main/active24/dns.go does. But maybe I'm missing something.

Note that I can't find the expected TXT record there - based on the above piece of log it should be at least created, but there's nothing visible in those records. Maybe even that part doesn't work properly, or it's just a consequence.

@rkosegi rkosegi added the bug Something isn't working label Aug 9, 2023
@rkosegi
Copy link
Owner

rkosegi commented Aug 9, 2023

Petr, thanks for bug report.
I can confirm issue. Not sure about root cause, I'm sure this worked before.
Even stranger is what you pointed out already, swagger UI or curl are producing OK results while pretty same requests coming from this app not. Let me do more tests

@rkosegi
Copy link
Owner

rkosegi commented Aug 10, 2023

This should be fixed in v1.0.2

@rkosegi rkosegi closed this as completed Aug 10, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants