Last active
August 31, 2022 23:47
-
-
Save Bradley-D/903e7489c705fa1bec546dd4d1c8e4a9 to your computer and use it in GitHub Desktop.
This will help generate a private pem and then you can extract the public key and save it
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
// This will generate a private PEM | |
openssl genrsa -out PATH-LOCATION/file_name_private.pem 1024 | |
// Now extract public key from the private pem and save it to a file | |
openssl rsa -in PATH-LOCATION/file_name_private.pem -pubout > PATH-LOCATION/file_name_public.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment