Closed svdigital-development closed 3 years ago
(I just updated my comment above because a keyboard shortcut submitted it too early)
This one bit me today too! Thanks for reporting and fixing.
@svdigital-development @milesizzo This repo seems abandoned, how are you guys overcoming this issue?
Hi @bilogic, I'm not sure it's abandoned but I overcame the issue by disabling "local check"; it's not necessary (it just checks the DNS entry or the HTTP endpoint succeeds before checking with upstream):
$order->verifyPendingOrderAuthorization($identifier, $type, false);
See LEOrder.php
, line 377:
public function verifyPendingOrderAuthorization($identifier, $type, $localcheck = true)
@milesizzo erm, there is a bug in Google DNS check as detailed by @svdigital-development and fixed by @qem.
Yeah and I overcame it by not using the local check, that's the code path that hits the Google DNS. As I said, you don't need to do it, it's just a failsafe. If you want to use the fix, change your composer version to dev-master
.
@milesizzo ah ok, I understand you now. thanks.
I had the same problem today
@viharm remove the double quotes like in the OP
@viharm remove the double quotes like in the OP
Sure, will do. Will this be included in the next fix/release?
@viharm we have all been trying to reach the owner
@svdigital-development @milesizzo @bilogic @viharm My apologies, I don't have a lot of time anymore to work in this project. I am also not using it a lot anymore myself. Nevertheless, the issue should now be resolved with the new release.
@yourivw we can help you maintain if you are comfortable thank you!
Hi @yourivw I just found a possible bug or issue on Google DNS check (DNS-01 challenge).
The problem verifies on method
LEFunctions::checkDNSChallenge()
and more specifically on: https://github.com/yourivw/LEClient/blob/master/src/LEFunctions.php#L238
Here an example of a real response (domain name is obfuscated by me) Google DNS gave me 10 minutes ago (real domain, real DNS challenge):
The content of
$answer->data
is not'"' . $DNSDigest . '"'
, but actually is:$DNSDigest
itself.With this fix the challenge is verified and certificate emitted: