openssl ecparam -genkey -noout -name prime256v1 | openssl pkcs8 -topk8 -nocrypt -out priv.pem openssl ec -in priv.pem -pubout > pub.pem