Replies: 5 comments 3 replies
-
From what we can see in the logs above, NPMplus (specifically the However, it appears there is something like a race condition in which the .der file hasn’t finished generating by the time NPMplus tries to read it - leading to Essentially, Nginx is being reloaded (and config-checked) before the |
Beta Was this translation helpful? Give feedback.
-
does this also happen when creating certs using letsencrypt/zerossl? |
Beta Was this translation helpful? Give feedback.
-
it looks more like the CA does not return the stapling.der file in the first few seconds after the cert was created, since the script itself runs between cert creation and config creation, so the der file should exist if the CA returns it. so I think the CA is "too slow" |
Beta Was this translation helpful? Give feedback.
-
From my research today, the
What the problem could be :
I think a quick fix would be, to add a short grace period or retry after cert issuance—giving the CA’s OCSP responder time to recognize the new certificate - before we generate or validate the Maybe something like :
As a quick workaround, I currently set (Must-Staple is an X.509 extension ( |
Beta Was this translation helpful? Give feedback.
-
thats what I wrote above, the issue is the CA which return the stapling response to slow, no |
Beta Was this translation helpful? Give feedback.
-
Hi ZoeyVid
I found an other potential bug. The creation of the ".der"-file seems a bit slower as the check for that file happens. This leads to a faulty-vhost (red). Here it should maybe wait a few seconds (or have something like a grace period) to recheck for this file, before doing this check. The full logs you see below
Currently my process to get a new certificate looks like this:
For testing i changed the key-type in /etc/certbot.ini to RSA.
Beta Was this translation helpful? Give feedback.
All reactions