[SERVER-57716] Partial certificate chain in PEM causes validation failure in OCSP Created: 15/Jun/21 Updated: 29/Oct/23 Resolved: 06/Aug/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 5.1 Required |
| Fix Version/s: | 5.0.3, 4.4.9, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sergey Galtsev (Inactive) | Assignee: | Sergey Galtsev (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v5.0, v4.4
|
||||||||||||
| Sprint: | Security 2021-07-12, Security 2021-07-26, Security 2021-08-09 | ||||||||||||
| Participants: | |||||||||||||
| Case: | (copied to CRM) | ||||||||||||
| Description |
|
tls section may contain CAFile and certificateKeyFile parameters. When CAFile and certificateKeyFile both contain partial certificate chains, the X509_verify_cert call in OCSPFetcher::fetchAndStaple fails with error 20: "unable to get local issuer certificate" |
| Comments |
| Comment by Githook User [ 16/Aug/21 ] |
|
Author: {'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |
| Comment by Githook User [ 16/Aug/21 ] |
|
Author: {'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |
| Comment by Sergey Galtsev (Inactive) [ 06/Aug/21 ] |
|
when clusterCAFile is speficied, it no longer takes over CAFile for the purposes of OCSP |
| Comment by Githook User [ 06/Aug/21 ] |
|
Author: {'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}Message: |
| Comment by Sergey Galtsev (Inactive) [ 28/Jul/21 ] |
| Comment by Sergey Galtsev (Inactive) [ 19/Jul/21 ] |
| Comment by Sergey Galtsev (Inactive) [ 13/Jul/21 ] |
|
Notes from zoom meeting with spencer.jackson:
|