On Wed, Nov 17, 2021 at 11:11:58AM -0500, Felipe Gasper wrote: > Does OpenSSL intend to handle EC public keys that in PEM begin “BEGIN EC PUBLIC KEY”? I doubt it, but there is: $ openssl genpkey -algorithm ec -pkeyopt ec_paramgen_curve:prime256v1 | openssl ec read EC key writing EC key -----BEGIN EC PRIVATE KEY----- MHcCAQEEIDvaIBqlCepZmpLChB7wW1aMbecIsw79AftoaZttrdaEoAoGCCqGSM49 AwEHoUQDQgAE0XMziiLRVpKP/jNklqzZqejJKgcK+TQ9wynz3etCRqOq8hzW24VG PY+ORzD9LJqTMQF7NJytxR4vcCVcrpuXGg== -----END EC PRIVATE KEY----- There is no correspoding EC-specific PEM public key form in OpenSSL. You should be using the algorithm agnostic formats. -- Viktor.