SSL ERRORS
urn:ietf:params:acme:error:unauthorized: causes and fixes
The CA could not authorize the requested name. Read the challenge response to find whether HTTP-01 routing or DNS-01 publication failed.
What it means
HTTP-01 proves control through a specific HTTP resource; DNS-01 uses a specific DNS TXT response. The expected value depends on the current challenge. A stale token, wrong zone, different destination or incomplete rollout can satisfy your own test while failing the CA’s actual request.
What to check
- Preserve the authorization identifier, challenge type and detailed validation response.
- For HTTP-01, inspect the required challenge path and every relevant A/AAAA destination.
- For DNS-01, inspect the expected TXT value at the actual authoritative challenge name, including intentional delegation.
Test the connection
dig _acme-challenge.example.com TXT
dig example.com A
dig example.com AAAAUse the identifier and challenge type from the failed ACME order. Compare these answers with its problem detail.
How to fix it
- Publish or route the current challenge response through the documented ACME workflow.
- Repair an unintended proxy, redirect, access rule or wrong DNS destination identified by the failure.
- Keep challenge credentials scoped and private; do not expose account keys while debugging logs or sharing evidence.
Check the fix
Complete a new valid authorization and issuance using the corrected workflow, then deploy the issued certificate and retest the serving endpoint. The authorization stage and active TLS deployment are different acceptance criteria.
Details worth checking
Use the token from the current authorization. Stale tokens and responses visible only on localhost are common reasons a local test and the CA’s validation disagree.
Related guides
- Diagnose ACME renewal failures caused by DNS or CAA
- Fix SSL errors after an A, AAAA or CNAME change
- Renewed certificate, but the server still serves the old one