Elliptic Curve Keys

How to create elliptic curve parameters and private/public keys using OpenSSL

check openssl version

$ openssl version
OpenSSL 1.1.1b 26 Feb 2019

Generate EC parameters

$ openssl ecparam -name secp256k1 -out secp256k1.pem

Examine the EC parameters
- OpenSSL will only store the name of the curve in the generated parameters

$ openssl ecparam -in secp256k1.pem -text -noout
ASN1 OID: secp256k1