I'm using directadmin with let's encrypt certificate for few months and several domain names without issue but since last week, a domain name and just one does not succeed to renew the certificate. When I try to create a new one manually, I receive the message below :
Getting challenge for renard-asso.org from acme-server...
Waiting for domain verification...
Challenge is invalid. Details: The key authorization file from the server did not match this challenge [n2CMLgpmRpQX6yYHaQuJtXP2MCP2Bg28YEYedj2aGAI.3q_KYmBgmqWVZycm0pBx--qJriX_mZkOrmXRRsiZ2IQ] != [n2CMLgpmRpQX6yYHaQuJtXP2MCP2Bg28YEYedj2aGAI.4E3VCTFsySjUrqnCg0ooULx-3kbdPBygi0aWkvg5Gd8]. Exiting...
I'm trying to find a solution on Google but without success.
Let’s Encrypt prefers IPv6 so it will use it to validate your domain so you have 2 options, configure correctly to use IPv6 or remove the AAAA record for your domain.
It’s a really good remark, I completly forgot to check the DNS records and you are right the IPV6 was not configured correctly.
I removed the AAAA record and now I’m waiting to see in few hours if it’s ok now.