[SERVER-32980] Add certificate selector command-line/config options. Created: 29/Jan/18  Updated: 29/Oct/23  Resolved: 06/Mar/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Sara Golemon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-11426 Docs for SERVER-32980: Add certificat... Closed
Related
is related to TOOLS-2362 Add certificate selector command-line... Accepted
Backwards Compatibility: Fully Compatible
Participants:

 Description   

The new option will be called a “Certificate Selector” for each option used to read a PEM file today. No new options will be used to read CA certs or CRL lists as these will be retrieved from the system certificate store by the native SSL library automatically. Both platforms will check OCSP for CRLs.

Existing Option New Option Config Name
sslPEMKeyFile sslCertificateSelector net.ssl.CertificateSelector
sslClusterFile sslClusterCertificateSelector net.ssl.ClusterCertificateSelector
kmipClientCertificateFile kmipClientCertificateSelector security.kmip.ClientCertificateSelector

It is a startup error to specify a certificate selector and file for the same parameter.

The format of the certificate selector is:

<certificate property>=<value>

The following certificate properties are supported:

Property Value Description
subject An ASCII string Matches Subject Name
thumbprint Hex string Matches Thumbprint

The property names are case-sensitive. For subject name, the match is exact, case-sensitive string match. Only one property may be specified in a search. In the case of two or more certificates matching the same search criteria, the certificate returned is undefined, and depends on the OS behavior.



 Comments   
Comment by Githook User [ 06/Mar/18 ]

Author:

{'email': 'sara.golemon@mongodb.com', 'name': 'Sara Golemon', 'username': 'sgolemon'}

Message: SERVER-32980 Add certificate selector for Windows for SecureTransport
Branch: master
https://github.com/mongodb/mongo/commit/e9b02219045e0bf1f597c2a7611e2649e87510e6

Generated at Thu Feb 08 04:31:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.