feederic
feederic

Reputation: 29

Openssl Generate Public Asymmetric Key

I am trying to output the public EC key parameters Qx and Qy from OpenSSL CLI. Is this possible?

Upvotes: 0

Views: 694

Answers (1)

Chiara Hsieh
Chiara Hsieh

Reputation: 3393

You can create an elliptic curve key with

openssl ecparam -out key.pem -name prime256v1 -genkey

Output the public and private key with

openssl ec -inform PEM -in key.pem -pubout -text -noout

Upvotes: 5

Related Questions