Add a new function returns this information so that rotation can log the information in one place instead of each implementation of the SSLManagerInterface. It should return a struct instead of BSON to ensure logging is done consistently across all implementations.
Example Function Name: CertInformationToLog getCertificateInformationToLog()
struct CertInformationToLog { SSLX509Name subject; SSLX509Name issuer; std::vector<char> thumbprint; Date_t validityNotBefore; Date_t validityNotAfter; }; struct CertInformationToLog { std::vector<char> thumbprint; Date_t validityNotBefore; Date_t validityNotAfter; }; struct SSLInformationToLog { CertInformationToLog server; boost::optional<CertInformationToLog> cluster; boost::optional<CRLInformationToLog> crl; };
- is depended on by
-
SERVER-49130 Log certificate information on startup for Linux
- Closed
-
SERVER-49131 Log certificate information on startup for Windows
- Closed
-
SERVER-49132 Log certificate information on startup for Apple
- Closed