[CDRIVER-2004] Add SSL Configuration options to the URI / Enable X.509 auth through URI Created: 27/Jan/17  Updated: 11/Jun/17  Resolved: 06/Feb/17

Status: Closed
Project: C Driver
Component/s: tls
Affects Version/s: None
Fix Version/s: 1.7.0

Type: New Feature Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to PHPC-956 Determine how to support TLS options ... Closed
related to CDRIVER-857 C - Test the support of MONGODB-X509 ... Closed
related to CDRIVER-2130 Any "ssl" config option in URI should... Closed
is related to CDRIVER-2186 More Connection String Spec updates Closed
is related to CDRIVER-2187 Key file path, key file password, and... Closed

 Description   

Currently the only way to actually be able to connect to SSL enabled server is by calling mongoc_client_set_ssl_opts. It is insufficient to enable the ssl=true URI option as in real world scenario you have to configure the client certificate and possibly allowed ca.

Since we can't provide client certificate through the URI, X.509 authentication is therefore not supported through the URI alone, and requires few lines of code to enable.



 Comments   
Comment by Githook User [ 06/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2004 Document new SSL URI Options
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/acb7b6b8df3a240d256fb7137a50f992ec8aa91b

Comment by Githook User [ 06/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2004 Add SSL Configuration options to the URI
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/6755bdb95aeda574681ea394d28b3b940da90cfd

Comment by A. Jesse Jiryu Davis [ 30/Jan/17 ]

Tentatively scheduled for 1.7.0. Depends on an in-progress Drivers spec for TLS options.

Generated at Wed Feb 07 21:13:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.