Export public key from private RSA key

Export public part of the key from private RSA key.

Authored by: Petr Stepan (Deworn)
Brought to you by Warp, a free terminal reimagined to work like a modern app.
in_key
out_pub_key

Command
Copy
openssl rsa -in in.key -pubout -out out.key
Tags