yaac
yaac copied to clipboard
Exception: Undefined array key "certificate"
An Undefined array key "certificate"
got thrown when I want to retrieve the certificate. The HTTP selftest and authorization succeeded. Did someone else had a similar issue so far?
$certificate = $client->getCertificate($order);
I just did some debugging and I found out that the order returns a ready
status but the finalize endpoint has processing
as a status.
As mentioned in https://community.letsencrypt.org/t/error-when-finalizing-order/104649 and https://datatracker.ietf.org/doc/html/rfc8555#section-7.4 the Retry-After
header should be respected. Within https://github.com/afosto/yaac/blob/master/src/Client.php#L323 I did not found any logic handling the specific header. Is this on purpose or am I the first one stumbling across this kind of behaviour?
I have exactly the same issue!
Edit: This is only the case on Client::MODE_STAGING.
Same problem to me using staging mode.
Looking at forks of this repository, the following might have implemented a solution to this issue:
https://github.com/afosto/yaac/compare/master...OpenSourceCommerce:acme-client:master