Key - OpenSSL
RSA key
Generating RSA key
# Default key lenght = 2048
openssl genrsa [-out <file.key>] [<key length>]
View RSA key file
openssl rsa -in <file.key> -text -noout
Extracting RSA public key
openssl rsa -in <file.key> -pubout -out <public.key>