1 thought on “How to generate a public, private key”
Sara
The commonly used commands are as follows: -Generate the RSA private key (traditional format) Openssl Genrsa -OUT RSA_PRIVATE_KEY.PEM 1024 -Convert the traditional format's private key to the OpenSSL PKCS8 -NFORM PEM -PRIVATE_KEY.PEM -OUTFORM PEM -NOCRYPT -Generate RSA Public Key OpenSSL RSA_PRIVATE_KEY.PEM -PEM -OUT RSA_PUBLIC_KEY.PEM
The commonly used commands are as follows: -Generate the RSA private key (traditional format) Openssl Genrsa -OUT RSA_PRIVATE_KEY.PEM 1024 -Convert the traditional format's private key to the OpenSSL PKCS8 -NFORM PEM -PRIVATE_KEY.PEM -OUTFORM PEM -NOCRYPT -Generate RSA Public Key OpenSSL RSA_PRIVATE_KEY.PEM -PEM -OUT RSA_PUBLIC_KEY.PEM