Symptoms
The server is unable to automatically get a hostname SSL certificate, and an error similar to the following can be seen when running the checkallsslcerts
script.
server.domain.tld: Attempting HTTP DCV preflight check …
The system queried for a temporary file at “http://server.domain.tld/.well-known/pki-validation/08D3ABE0927B0E1129D7C3B7001B86D4.txt”, but the web server responded with the following error: 404 (Not Found). A DNS (Domain Name System) or web server misconfiguration may exist.
Description
The error occurs when the hostname resolves to an IP address on the server that is not the server's shared IP address.
Please note that when the hostname has an AAAA record, the hostname resolution uses the IPv6 address instead of the IPv4 address.
Workaround
Ensure that the hostname's A and AAAA records resolve to the server's shared IPv4 and IPv6 addreses.
Comments
0 comments
Article is closed for comments.