-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Connections
-
None
-
Ruby Drivers
Summary:
The MongoDB Ruby driver incorrectly handles the OCSP certificate chain by using the last certificate in the chain as the issuer. The correct behavior should be to use the certificate directly after the leaf certificate. This issue causes OCSP verification to fail when the chain contains multiple certificates.
Details:
In the current implementation of the MongoDB Ruby driver, the OCSP verification uses the last certificate in the peer_cert_chain as the issuer certificate. However, according to the correct practice and as implemented in the official MongoDB Go driver, the certificate directly after the leaf certificate should be used as the issuer.
- duplicates
-
RUBY-3498 Driver incorrectly handles the OCSP certificate chain by using the last certificate in the chain as the issuer.
- Closed