Code Snippet

Just another Code Snippet site

ssl

[How-To] Certificate

#extract the certificate to a pem file #extract the key to another pem file #Import the the certificate into JDKs cacerts keystore cURL HTTPS with client certificate :

,

[SSL] Generate SSL certificate

Run the following OpenSSL command to generate your private key and public certificate. Answer the questions and enter the Common Name when prompted. Review the created certificate: Combine your key and certificate in a PKCS#12 (P12) bundle: Validate your P2 file.

, , , ,