Creating Elliptic Curve (ECC) Certificates for TLS

Created on 2020-08-13T21:27:48.094737

Return to the Index

This card can also be read via Gemini.

Create the parameter file; this holds all the details about the curve you are using.

$ openssl ecparam -name secp256k1 -out secp256k1.pem

Create the secret key from the parameter file.

$ openssl ecparam -in secp256k1.pem -genkey -noout -out secp256k1-key.pem

Generate a top level self-signed key using the ECC cert.

$ openssl req -key domain.key -new -x509 -days 365 -out domain.crt

Now sob profusely as you discover how many TLS implementations do not support your ECC certificates.