Skip to content
Search

OpenSSL:RSA

lastmod 2018-08-17created 2017-11-123 edits

Create public key

A public key named public.pem can be generated from a private key named private.pem using OpenSSL as follows.

$ openssl rsa -in private.pem -out public.pem -outform PEM -pubout

See also

Favorite site

References


  1. OpenSSL_API_-Asymmetric_Key_Cipher-_RSA.pdf ↩