[CDRIVER-1308] Automatically extract subject from X.509 certificates on Windows Created: 27/May/16  Updated: 10/Aug/16  Resolved: 18/Jul/16

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.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 CDRIVER-1385 Secure Transport subject reversed Closed
Epic Link: TLS Improvements

 Description   

Our OpenSSL implementation supports X.509 authentication without requiring the user to explicitly provide the username.

This goes against the auth spec, but.. Thats what we support so we have to support it.

The windows implementation currently does not automatically extract the username from the certificate.
See https://github.com/mongodb/mongo-c-driver/blob/master/src/mongoc/mongoc-secure-channel.c#L36-L41



 Comments   
Comment by Githook User [ 18/Jul/16 ]

Author:

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

Message: CDRIVER-1308: Extract subject from X.509 certificates
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/1541488aca9b4936744e6bf5f65b3250d01d8472

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