Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 344 Bytes

File metadata and controls

12 lines (11 loc) · 344 Bytes

Generating ECDsa keypairs for use with API

Generate a key containing the pair with:

openssl ecparam -name prime256v1 -genkey -outform pem -out keypair.pem

(The curve used via -name can be changed for preference)


Extract the public key from the pair with:

openssl ec -in keypair.pem -pubout -out public.pem