squoggle

Mac's tech blog — Linux, sysadmin, TLS

OPENSSL(1) SSL/TLS/OpenSSL 2019-09-14

OpenSSL Keys & CSRs

Posted 2019-09-14

Get Public Key from a Private Key

You can get the Public Key from a Private Key with something like this:

$ openssl pkey -in [private.key] -pubout -out [public.key]
OPENSSL(1) RSS 2019-09-14