Skip to content

Instantly share code, notes, and snippets.

@jcefoli
Created September 22, 2015 20:19
Show Gist options
  • Save jcefoli/e8a133639e5ff5fa5156 to your computer and use it in GitHub Desktop.
Save jcefoli/e8a133639e5ff5fa5156 to your computer and use it in GitHub Desktop.
Convert PFX Windows Cert to Linux Public/Private Key and Chain
openssl pkcs12 -in ./cert.pfx -clcerts -nokeys -out public.crt
openssl pkcs12 -in ./cert.pfx -nocerts -nodes -out private.rsa
cat public.crt ca-bundle.crt >> bundle.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment