Reputation: 29
I am trying to output the public EC key parameters Qx and Qy from OpenSSL CLI. Is this possible?
Upvotes: 0
Views: 694
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