This works perfectly on most of them, but for some reason this one is causing me an issue now. If I go to that page, it works fine. It seems to work fine with a test file here with both ipv4 ipv6:
Anyone got any suggestions? I've seen this pop up on several servers now, and its getting more frequest. I'm just worried that the SSL certs will expire if I can't work it out, and break my sites :frowning FWIW, it all worked fine before and it's only in the last week I've started getting these messages.
Hi @steampunkjnkies, sorry to hear you're running into issues renewing. The random timing definitely sounds frustrating!
This seems unrelated to the DNS problems from Digital Ocean. There's also nothing to indicate there's a problem with "Cloudflare DNS FIrewall", the other linked thread was a result of a Digital Ocean DNS problem, not anything CloudFlare related.
I'm unfamiliar with VestaCP. Have you raised an issue with their support about this problem?
Looking at the logs from our end it seems like there is a misconfiguration on your challenge response webserver. Instead of returning the ACME challenge token contents it's returning an XHTML document:
I'm going to update the title of this thread to more prominently feature that this is a question about VestaCP with the hopes someone more familiar with its configuration/Let's Encrypt plugin can help identify why the wrong response is being returned to the challenge server.
Thanks for the reply. It's very odd, as it was working fine before, and I've not updated any of the core VestaCP software, so I don't think thats the problem.
Looking at the logs from our end it seems like there is a misconfiguration on your challenge response webserver. Instead of returning the ACME challenge token contents it's returning an XHTML document:
Mmm interesting. Do you have the IP address that it is calling for that?
It seems like your challenge webserver isn't configured properly for that IPv6 address. You could fix this (ideal) or remove the AAAA record (less ideal).
OK, so I'm really not sure this is an IPv6 issue. I removed the AAAA records for cdn.steampunkjunkies.com, and have let it update mxtoolbox shows it as non-existing now. However, I still get this error:
I’m afraid there’s nothing else for me to report from the server-side. In the most recent attempt ( 28/06/2017
06:21:01.650 +0000) the validation authority connected to "http://cdn.steampunkjunkies.com/.well-known/acme-challenge/cQV_ngbHvv-EoYz84_RYSJymGbxJdFA5fqk7ZKN835A", (resolved to 213.219.38.44) and received back an Invalid Response containing what looks like the beginning of an HTML document instead of the expected HTTP-01 challenge response with a key authorization from your ACME client.
Wish I could offer some more concrete suggestions for actions to take. It certainly seems like a misconfiguration with either VestaCP or your webserver configuration.
Thanks @cpu . I’ve actually just paid the VestaCP guys to see if they can track it down, as I’m drawing a blank. Are you able to see the full page that gets returned? That could help track down what its actually seeing (and why, maybe)
Just for some reason its not writing them (although, that is hard to test and the cleanup happens quicker than you can check to see if that file was written, and what its contents were).
Apparently, VestaCP uses keys for LE that are based on the email address. According to the Vesta tech I spoke to, you need to have a unique email address per account (not domain, but user account), otherwise it goes weird. I’m a bit confused as to why it worked before - but it all looks good now Hopefully this will save someone else from the stress I had! (I’ve suggested they bring up an alert to warm people of this, what they try and add the same email address to a 2nd account)
Interesting! I would never have thought to suggest checking this.[quote="steampunkjnkies, post:18, topic:36527"]
(I've suggested they bring up an alert to warm people of this, what they try and add the same email address to a 2nd account)
[/quote]
That sounds like a very sensible idea.
Thanks for reporting back with a solution! I'm very glad you were able to get this resolved!