Last active
July 30, 2020 02:09
-
-
Save ferco0/aea150c1a6c8bd48559dedf9d0c74b1b to your computer and use it in GitHub Desktop.
gen private/public keypair
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
openssl ecparam -name prime256v1 -genkey -noout -out ecdsa-private.pem | |
openssl ec -in ecdsa-private.pem -pubout -out ecdsa-public.pem |
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
openssl genrsa -des3 -out rsa-private.pem 2048 && | |
openssl rsa -in rsa-private.pem -outform PEM -pubout -out rsa-public.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment