My domain is: smhi.com, smhi.se, et.al.
My web server is (include version): Hitch-tls + Varnish + certbot
The operating system my web server runs on is (include version): RHEL7.7
I can login to a root shell on my machine (yes or no, or I don't know): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 0.37.2
We have been running certbot for about a year without issue or change. Recently the certificate renewal has started to fail for one of the domains in the certificate.
We redirect the domain smhi.com to smhi.se/en and this causes a problem apparently. The thing that is odd in the log is the following
{
"identifier": {
"type": "dns",
"value": "smhi.com"
},
"status": "invalid",
"expires": "2020-04-24T11:37:15Z",
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:unauthorized",
"detail": "Invalid response from http://www.smhi.se/en [2001:67c:274:1313::43]: "\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en-US\"\u003e\n\u003chead\u003e\n\u003cmeta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" /\u003e\n\u003cmeta name=\"rob"",
"status": 403
},
"url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/4013528128/dNS-Xg",
"token": "1fD1MDNO-07vaU90M2gONhJ__-UCj4YD_SLGhtXdAXk",
"validationRecord": [
{
"url": "http://smhi.com/.well-known/acme-challenge/1fD1MDNO-07vaU90M2gONhJ__-UCj4YD_SLGhtXdAXk",
"hostname": "smhi.com",
"port": "80",
"addressesResolved": [
"62.116.130.8"
],
"addressUsed": "62.116.130.8"
},
{
"url": "http://www.smhi.se/en",
"hostname": "www.smhi.se",
"port": "80",
"addressesResolved": [
"91.192.30.117",
"2001:67c:274:1313::43"
],
"addressUsed": "2001:67c:274:1313::43"
}
]
}
]
}
for the domain smhi.com it produces two validation records, and because the post-redirect record does not include the challenge url, the request is not diverted to certbot. I don't understand why the second validationRecord is needed, nor how it is constructed.