You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version effected: v2.8.4 h1:q3pe0wpBj1OcHFZ3n/1nl4V4bxBrYoSoab7rL9BMYNk=
If I have an uppercase domain name in the host matcher in the json config, caddy will fail to generate a certificate
for example with this config
When generating a cert I get this error in the logs
2024/07/15 23:41:30.338 ERROR tls.obtain could not get certificate from issuer {"identifier": "CADDY.lowinger.cloud", "issuer": "acme-v02.api.letsencrypt.org-directory", "error": "[CADDY.lowinger.cloud] validating order identifiers: identifiers in Order [{dns caddy.lowinger.cloud}] do not match the identifiers extracted from CSR [{dns CADDY.lowinger.cloud}] (ca=https://acme-v02.api.letsencrypt.org/directory)"}
2024/07/15 23:41:30.338 DEBUG events event {"name": "cert_failed", "id": "d32ac37d-1bb9-4904-90a8-890247edfa25", "origin": "tls", "data": {"error":{},"identifier":"CADDY.lowinger.cloud","issuers":["acme-v02.api.letsencrypt.org-directory"],"renewal":false}}
2024/07/15 23:41:30.338 ERROR tls.obtain will retry {"error": "[CADDY.lowinger.cloud] Obtain: [CADDY.lowinger.cloud] validating order identifiers: identifiers in Order [{dns caddy.lowinger.cloud}] do not match the identifiers extracted from CSR [{dns CADDY.lowinger.cloud}] (ca=https://acme-v02.api.letsencrypt.org/directory)", "attempt": 1, "retrying_in": 60, "elapsed": 3.653341393, "max_duration": 2592000}
When i set the domain name with caps in a Caddyfile, it does convert it to lowercase in the json config, but I think the json adapter should also be able to convert domain names to lowercase before requesting the cert.
The text was updated successfully, but these errors were encountered:
Version effected: v2.8.4 h1:q3pe0wpBj1OcHFZ3n/1nl4V4bxBrYoSoab7rL9BMYNk=
If I have an uppercase domain name in the host matcher in the json config, caddy will fail to generate a certificate
for example with this config
When generating a cert I get this error in the logs
When i set the domain name with caps in a Caddyfile, it does convert it to lowercase in the json config, but I think the json adapter should also be able to convert domain names to lowercase before requesting the cert.
The text was updated successfully, but these errors were encountered: