Skip to content

Instantly share code, notes, and snippets.

@asssis
Last active September 4, 2020 13:14
Show Gist options
  • Save asssis/062fcdc80db7fde40030be94a2fe0bb2 to your computer and use it in GitHub Desktop.
Save asssis/062fcdc80db7fde40030be94a2fe0bb2 to your computer and use it in GitHub Desktop.
many_cet_to_sigle_pem
ls * | xargs -i echo "openssl x509 -in {} -out ./cert/{} -outform PEM" > certificados.sh
chmod +777 certificados.sh
mkdir cert
./certificados.sh
cat cert/*.crt > ./certificados.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment