title: openssl RSA private and public keys
body: <p>If I use open ssl command</p>
  
  <pre><code>sudo openssl genrsa -out privkey.pem 2048
  </code></pre>
  
  <p>to generate rsa keys, it generates only 1 file. which is private key. How do I get the public key. </p>