I had a very strange issue with requesting a letsencrypt certificate.
The challange failed with error:
Invalid response from http:// -removed- /.well-known/acme-challenge/g859sYD_nyjIpiGQ2FUsL5ANEZ0bIyIpHRHWrNr1XXX
The domain is OK.
Some investigation showed me that the challenge file was not written to the acme-challenge folder.
I googled and found someone mentioning that he had a similar problem and solved it by manually making the folders .well-known/acme-challenge under public_html.
So I tried this and IT WORKED!!!
Anyone else having this strange issue?
My setup:
Clean install of VirtualMin script on a fresh install of Centos 8 minimal.
I can confirm that for my server, the fix of Illia on letsencrypt-lib.pl solves this issue.
Just made a new domain and the server succeeded in getting the LE certificate.