Skip to content

Instantly share code, notes, and snippets.

@wahab-io
Created March 14, 2019 21:46
Show Gist options
  • Save wahab-io/86c9790b34bf3c09e052fd2928275319 to your computer and use it in GitHub Desktop.
Save wahab-io/86c9790b34bf3c09e052fd2928275319 to your computer and use it in GitHub Desktop.
Convert empty password PFX file to a password protected PFX file
// convert PFX to PEM
openssl pkcs12 -in mycert.pfx -out temp.pem -nodes
// convert PEM to new PFX
openssl pkcs12 -export -out mycert-new.pfx -in temp.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment