Skip to content

Instantly share code, notes, and snippets.

@nikolaykasyanov
Created March 7, 2014 09:58
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 nikolaykasyanov/9408774 to your computer and use it in GitHub Desktop.
Save nikolaykasyanov/9408774 to your computer and use it in GitHub Desktop.
find . -name '*.p12' -depth 1 -type f | sed 's/^\.\/\(.\)/\1/' | xargs -I '{}' openssl pkcs12 -passin 'pass:' -in '{}' -out '{}'.pem -nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment