openssl
Command extract certificate using ex and openssl
How to get SSL certificate fingerprint and serial number using openssl command?
Fingerprint Serial
Convert rsa private to pem format with openssl command
openssl rsa -in server.key -text > private.pem
How to Convert a PEM certificate file and a private key to PKCS#12 (.pfx .p12) using openssl command?
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
How to convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to PEM using open SSL command?
openssl pkcs12 -in keyStore.pfx -out keyStore.pem -nodes
How to convert a PEM file to DER using openssl command?
openssl x509 -outform der -in certificate.pem -out certificate.der
How to convert a DER file (.crt .cer .der) to PEM using openssl command?
openssl x509 -inform der -in certificate.cer -out certificate.pem
How to check SSL connection with openssl command?
openssl s_client -connect www.google.com:443
How to check an MD5 hash of the public key to ensure that it matches with what is in a CSR or private key using openssl command?
$openssl x509 -noout -modulus -in certificate.crt | openssl md5 $openssl rsa -noout -modulus -in privateKey.key | openssl md5 $openssl req -noout -modulus -in CSR.csr | openssl md5