[GODRIVER-1580] Support multiple CA certs in one file Created: 15/Apr/20  Updated: 28/Oct/23  Resolved: 28/May/20

Status: Closed
Project: Go Driver
Component/s: Options & Configuration
Affects Version/s: None
Fix Version/s: 1.4.0

Type: Improvement Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to TOOLS-2469 Accept multiple certs in CA Closed
Case:

 Description   

A user submitted a PR for this a while back but was missing a test. Seems pretty straightforward for us to add/support. https://github.com/mongodb/mongo-go-driver/pull/235/files

EDIT: Some consumers have hit a similar issue with intermediate CA certs. We think we can solve both issues by replacing all the relevant code with a single call to cfg.RootCAs.AppendCertsFromPEM.



 Comments   
Comment by Githook User [ 29/Apr/20 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1580 Accept multiple certificates in a CA file (#389)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/9beebee147de26e5e8078c5f1601a7d30a6cfbd8

Comment by Divjot Arora (Inactive) [ 24/Apr/20 ]

https://github.com/mongodb/mongo-go-driver/pull/389

Generated at Thu Feb 08 08:36:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.