We provide domain registrations for our users and most of certificates work without any problems. Well, some of them are really tricky, including this one. We use PHP 7.1 on nginx and sign a lot of certificates through our service. In this case it does not work - we try to request new authorization (https://acme-v01.api.letsencrypt.org/new-authz), which returns few challenges. We chose http-01 from them, prepare token on correct URL (http://rc-truck.cz/.well-known/acme-challenge/_WDLwRN2Zkk1lakBww5bd_59Wt_uxJLlRhLZbjeOd-A, not working at the moment, but I checked properly earlier, it works), that means whole payload, not just token from challenge. Then we send request back to LE (https://acme-v01.api.letsencrypt.org/challenge) but the response is invalid - token is absolutely different from that one provided us in challenges (new-authz response). I have really no idea what to do - LE provides us different token than expects in challenge. I will be really happy for any help or advice.
Thanks in advance
Hi @JuergenAuer, thanks a lot, your advice really helped me. I was so deep in the problem and could not see this quite obvious issue. So another point of view can be very helpful. Anyway, it was not the webserver issue, I found one file that was broken. After fix it works properly. Regards.