auto-ssl / auto-ssl/lua-resty-auto-ssl

Let's Encrypt response on renewal: Order's status ("valid") is not acceptable for finalization

Open
#288 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
2k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

Sometimes the renewal of a certificate for an existing domain fails with the error below. Fixing this can be done by removing the existing certificate from the filesystem, and then going to the URL again. How can we prevent this from happening?

```
Request failure: STATUSCODE=403 REQTYPE=post
{
"type": "urn:ietf:params:acme:error:orderNotReady",
"detail": "Order's status (\"valid\") is not acceptable for finalization",
"status": 403
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Let's Encrypt renewal and finalization flow, focusing on how an existing certificate on the filesystem affects the request. Reproduce the 403 orderNotReady response, compare behavior after removing the certificate and revisiting the URL, and confirm that renewal no longer requires manual filesystem removal.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.