-
Notifications
You must be signed in to change notification settings - Fork 156
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
OCSP stapling handling #107
Comments
Hi Harald I've pushed various improvements to the current master branch, including automated refreshes of OCSP responses. Would you mind giving that a try? In the updated version, you can let Hitch take care of initial retrieval of the OCSP response as well. To turn it on you just need to supply a directory for |
Also I should mention that in the updated version, Hitch will no longer staple expired OCSP responses, although other than wasting bits on the wire it doesn't make much of a difference to browsers. |
Hi, I tested it today with commit 31e4eaf, after restart of hitch I get end endless segfault loop: ocsp-dir disabled works fine: config
Directory exists and has
|
Ouch - that's certainly not supposed to happen. I've tested with running a similar config, and I'm not able to reproduce the crash here. Would it be possible to get a backtrace? Could you please try the following: # ulimit -c unlimited then start hitch and wait for it to crash, followed by # gdb path/to/hitch-binary corefile and then issue Thanks a lot for testing BTW, this is very valuable. |
Hi @HLeithner Have you been able to get a coredump from this? |
@daghf Sorry I missed this.
|
Thanks a lot! Pushed a fix now - would you mind giving the latest HEAD a try? |
Sorry couldn't test earlier, seams too work, I only have a problem with lets encrypt certificate. if its not related I would create a new issue. |
@HLeithner I'm also seeing this running with a Let's Encrypt certificate. Not sure if it is a problem with their OCSP server or Hitch, but filed another issue to track it in: #113 I believe the current issue is resolved and should be kept closed. |
Whats the best why to use OCSP stapling.
The OCSP response expires regularly, so it have to be updated. Do I really have to do this in an external Job?
What if the response expires, hitch sends the expired OCSP packaged to the browser. Is this a good idea, that would mean the Browser stop showing the webpage or?
IIRC Apaches mod_ssl handles OCSP stapling complete it self including refreshing the response.
The text was updated successfully, but these errors were encountered: