How do I verify the modulus of an openssl Elliptic Curve Cryptography (ECC)
private key?

If this were RSA, I would run:
openssl x509 -noout -modulus -in certificateFileName.crt | openssl md5
openssl rsa -noout -modulus -in privateKeyFileName.key | openssl md5
openssl req -noout -modulus -in csrFileName.csr | openssl md5

But it's not RSA, so I don't know.

I created my private key and CSR by running:
openssl ecparam -genkey -text -name secp521r1 -out example-ecc.key
openssl req -new -key example-ecc.key -sha256 -out example-ecc.csr

Reply via email to