Skip to content

Instantly share code, notes, and snippets.

@northtyphoon
northtyphoon / openssl.md
Last active April 5, 2020 00:10
Certificate

Generate certificate chain pem file (root ca on the top)

 openssl pkcs12 -in my.pfx -out ca.pem -cacerts -nokeys

Generate client certificate pem file

 openssl pkcs12 -in my.pfx -out key.pem -nocerts