Posts Openssl generate rsa key
Post
Cancel

Openssl generate rsa key

  • Generate private key
1
$ openssl genrsa -out my_private_key.key 2048
  • Generate public key
1
$ openssl rsa -in my_private_key.key -pubout my_public_key.key
  • Check private key
1
$ openssl rsa -in my_private_key.key -check
This post is licensed under CC BY 4.0 by the author.