[SERVER-49131] Log certificate information on startup for Windows Created: 25/Jun/20  Updated: 29/Oct/23  Resolved: 16/Jul/20

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

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

Issue Links:
Depends
depends on SERVER-49129 Extend SSLManagerInterface with new f... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2020-07-27
Participants:

 Description   

Here are the Windows and mongodb apis
Certificates
Thumbprint - CERT_SHA1_HASH_PROP_ID in CertGetCertificateContextProperty
Subject Name - use getCertificateSubjectName
PCCERT_CONTEXT->pCertInfo->NotBefore, PCCERT_CONTEXT->pCertInfo->NotAfter
CRL
Call CERT_HASH_PROP_ID on CertGetCRLContextProperty
CRL_CONTEXT->pCrlInfo->ThisUpdate, NextUpdate



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

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-49131 SSL Info logging for Windows
Branch: master
https://github.com/mongodb/mongo/commit/550a9ee713078ec583621a0d6c368a6bc6ce43d2

Generated at Thu Feb 08 05:19:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.