Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Undefined array key "certificate" #63

Open
xolf opened this issue Jun 24, 2023 · 3 comments
Open

Exception: Undefined array key "certificate" #63

xolf opened this issue Jun 24, 2023 · 3 comments

Comments

@xolf
Copy link
Contributor

xolf commented Jun 24, 2023

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?

@cliffordjames
Copy link

cliffordjames commented Jul 14, 2023

I have exactly the same issue!

Edit: This is only the case on Client::MODE_STAGING.

@bessone
Copy link

bessone commented Nov 29, 2023

Same problem to me using staging mode.

@dbeaubien
Copy link

Looking at forks of this repository, the following might have implemented a solution to this issue:

master...OpenSourceCommerce:acme-client:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants