kelunik / acme

Async ACME library written in PHP based on the Amp concurrency framework.
MIT License
121 stars 18 forks source link

AcmeService::pollForCertificate does not work for the dns-01 #28

Closed zerkms closed 6 years ago

zerkms commented 6 years ago

The certificate download url (at least for dns-01) returns HTTP 202 after it's done.

It is

"status": "valid",

but still is http 202.

Hence the current implementation loops forever.

zerkms commented 6 years ago

My bad, I'm messed in my code.