Created
October 17, 2018 15:36
-
-
Save gvsrini/cc44f1a395a4a3349c739bc8eac84fd2 to your computer and use it in GitHub Desktop.
Generate Public Private key and corresponding pfx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
483 openssl genrsa -out privatekey.pem 1024 | |
484 openssl req -new -x509 -key privatekey.pem -out publickey.cer -days 1825 | |
485 ls -l *pem | |
486 openssl req -new -x509 -key privatekey.pem -out publickey.cer -days 1825 | |
487 ls *.cer | |
488 openssl pkcs12 -export -out public_privatekey.pfx -inkey privatekey.pem -in publickey.cer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment