Skip to content

Instantly share code, notes, and snippets.

@akhon
Created April 22, 2020 10:59
Show Gist options
  • Select an option

  • Save akhon/15169f3f7cfd0f8107e6b71ca73e50ac to your computer and use it in GitHub Desktop.

Select an option

Save akhon/15169f3f7cfd0f8107e6b71ca73e50ac to your computer and use it in GitHub Desktop.
-> openssl pkcs12 -export -in client.crt -inkey client.key -out client.p12 -name "client"
<- openssl pkcs12 -in ./p12.file -clcerts -nokeys -out client.crt
<- openssl pkcs12 -in ./p12.file -nocerts -nodes -out client.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment