Skip to content

Instantly share code, notes, and snippets.

@etobi etobi/gist:4658170
Created Jan 28, 2013

Embed
What would you like to do?
Caretaker: generate public/private keypair for caretaker_instance
#!/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
You can’t perform that action at this time.