Skip to content

Instantly share code, notes, and snippets.

@dleonard00
Created January 15, 2017 07:57
Show Gist options
  • Save dleonard00/0dc4ed63f5d90f5c70b6440c10a902f3 to your computer and use it in GitHub Desktop.
Save dleonard00/0dc4ed63f5d90f5c70b6440c10a902f3 to your computer and use it in GitHub Desktop.
add password to pkcs12
openssl pkcs12 -in Certificates.p12 -out temp.pem -passin pass: -passout pass:temppassword
openssl pkcs12 -export -in temp.pem -out Certificates-final.p12 -passin pass:temppassword -passout pass:newpassword
rm -rf temp.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment