Skip to content

Instantly share code, notes, and snippets.

@allenmichael
Last active December 15, 2020 17:14
Show Gist options
  • Save allenmichael/1d4dc29541d543fcb0f2c213312427aa to your computer and use it in GitHub Desktop.
Save allenmichael/1d4dc29541d543fcb0f2c213312427aa to your computer and use it in GitHub Desktop.
openssl genrsa 2048 > private.pem
openssl req -x509 -new -key private.pem -out public.pem
openssl pkcs12 -export -in public.pem -inkey private.pem -out cert.pfx
cat cert.pfx | base64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment