OpenSSL 3 · Keys and signing requests

Extract the public key

Write the public key from a private key.

openssl pkey -in private.key -pubout -out public.key

Official OpenSSL 3 documentation

More keys and signing requests commands

All keys and signing requests commands · OpenSSL 3 cheatsheet

Was this page helpful?