fix: Keep OCSP responder running on invalid request
Added the openssl ocsp flag to ignore malformed requests. The OCSP responder now continues running instead of terminating upon receiving a malformed request. When testing connectivity it is useful to be able to curl http://ocsp-responder:8888. Previous to this commit the responder would send 200 OK then exit. With this change we still get the 200 response but the responder remains active.fix-revocation-examples
parent
836b0be3c2
commit
68a6a4ca3c
|
@ -36,7 +36,8 @@ services:
|
|||
-CA /ca/intermediate-ca/intermediate.crt \
|
||||
-rkey /ca/ocsp-responder/ocsp.key \
|
||||
-rsigner /ca/ocsp-responder/ocsp.crt \
|
||||
-ndays 1 &
|
||||
-ndays 1 \
|
||||
-ignore_err &
|
||||
|
||||
# Use socat to create IPv6 and IPv4 listeners that forward to the OCSP responder
|
||||
socat TCP6-LISTEN:8888,fork,ipv6-v6only=1 TCP4:127.0.0.1:8887 &
|
||||
|
|
Loading…
Reference in New Issue