Created
October 7, 2014 09:34
-
-
Save TrueType/c6a7953078b67adac713 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
clear | |
openssl genrsa -out private.pem 2048 | |
openssl rsa -in private.pem -out public.pem -pubout | |
echo | |
echo | |
echo "~~~~~~~~~~[Private Key]~~~~~~~~~~" | |
echo | |
cat private.pem | tr "\n" "|" | |
echo | |
echo | |
echo "~~~~~~~~~~[Public Key]~~~~~~~~~~" | |
echo | |
cat public.pem | tr "\n" "|" | |
echo | |
echo | |
echo | |
rm -f private.pem public.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment