March 24, 2019

Useful Commands - OpenSSL

openSSL is a very handy tool from the command line. Managing multiple sites and domains I almost use it everyday to do crypto relating things to websites - checking validity, preparing new CSRs, converting certificates to different formats for different operating systems. Here are some of those that I’ve used along the way Read .cer in plain text openssl x509 -in certificate.cer -text -noout convert from pkcs12 (windows format, with private key and cert) to pem (-nocerts for only priv key or -nokeys for only certs) openssl pkcs12 -in keystore. Read more