Skip to content

Instantly share code, notes, and snippets.

@dgyesbreghs
Created July 12, 2018 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgyesbreghs/413b22220790af813bba14e604a93a9e to your computer and use it in GitHub Desktop.
Save dgyesbreghs/413b22220790af813bba14e604a93a9e to your computer and use it in GitHub Desktop.
filename=$1
suffix=".p12"
filename=${filename%$suffix}
echo "Convert file: " ${filename};
openssl pkcs12 -in ${filename}.p12 -out ${filename}.pem -nodes -clcerts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment