auto-ssl / lua-resty-auto-ssl

On the fly (and free) SSL registration and renewal inside OpenResty/nginx with Let's Encrypt.
MIT License
1.94k stars 181 forks source link

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

Open casdr opened 1 year ago

casdr commented 1 year ago

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
}