ACME: renewal fails #823
-
Hi! I‘ve recently started testing with step-ca in my local environment and primarily use the ACME provisioner to get certificates for caddy webservers. Issuing the initial certificate works just fine, but the certificates are not renewed. Here’s what the log of step-ca is telling me:
I think it the important part is this one: The server could not connect to validation target The CA is running on acme.internal.domain and is listening to :8443 and there is the host trying to get the certificate renewed server.internal.domain. Name resolution works fine and I can curl from both machines to each other, too. I probably messed up some configuration - but where to look for? Installed versions:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
It's strange that you can curl from both machines to each other, and that the initial enrollment works. Do you get any errors or anything on the Caddy side? You could also try configuring Caddy with a different challenge type and see if that works better. |
Beta Was this translation helpful? Give feedback.
-
have run into the same issue on .private local URLs |
Beta Was this translation helpful? Give feedback.
It's strange that you can curl from both machines to each other, and that the initial enrollment works.
My hunch is that it's not a DNS issue.
Do you get any errors or anything on the Caddy side?
I'm pretty sure the
TLS-APLN-01
challenge type requires the ACME server to connect to the target on port 443. So, if your Caddy server for any reason is unable to listen on that port (eg lacking permissions, or a firewall, or another service using 443), it will not be able to renew the certificate.You could also try configuring Caddy with a different challenge type and see if that works better.