Database
MongoDB
Extract and combine client certificate and private key from PKCS12 into one file
1min
Perform the following step to extract and combine the client certificate and private key from the PKCS #12 into a single file:
1
Run the following command to extract the certificate and private key from the client endpoint PKCS #12 file and save them into mongodb_cert_and_privatekey.pem. Note that the -nodes parameter specifies that the private key should not be encrypted.
Updated 03 Feb 2025
Did this page help you?