Sample Header Ad - 728x90

How to convert EC public key in PEM format to DER format using openssl

3 votes
2 answers
2192 views
With a public key as **PEM**, how can this be converted to **DER** format using **openssl**? Please note that this is not a x509 certificate. Also this question is about EC (ECDSA) public keys not RSA and using **openssl** not C, C++ or some other programming language
-----BEGIN PUBLIC KEY-----
xxx
-----END PUBLIC KEY-----
Asked by code2535 (31 rep)
Jan 4, 2024, 07:43 PM
Last activity: Jan 4, 2024, 11:22 PM