openssl genrsa -out rsa-private.txt 1024 openssl rsa -in . sa-private.txt -out rsa-public.txt -pubout -outform PEM