Skip to content

ACME broken for .internal adresses #7147

@Sani7

Description

@Sani7

using caddy version v2.10.0
I'm using my own "lab.internal" dns names and have step-ca handing out certs for that domain, but all of a sudden I get errors like this:

{"level":"error","ts":1753810352.0772765,"logger":"tls.obtain","msg":"will retry","error":"[iot.lab.internal] Obtain: subject 'iot.lab.internal' does not qualify for a public certificate","attempt":5,"retrying_in":600,"elapsed":600.079823967,"max_duration":2592000}

Is there a way to configure caddy to use a certain acme_ca for DNS names that are not exposed to the internet?

global caddyfile

{
	# Our local ACME server
	acme_ca https://ca.lab.internal/acme/acme/directory
	# step-ca doens't support ocsp yet
	ocsp_stapling off
}

regular file

iot.lab.internal {
        reverse_proxy http://192.168.168.34:3000
}

Metadata

Metadata

Assignees

Labels

bug 🐞Something isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions