I am trying to generate self signed certificate with cert using ec-key. I did on my pc with openssl using:
openssl ecparam -name secp521r1 -genkey -param_enc explicit -out private-key.pem openssl req -new -x509 -key private-key.pem -out server.pem -days 730
I am trying to do with mbedtls. There is ./gen_key that able to generate private-key. I need help in reproducing self signed certificate part, the later part using mbedtls. I like to the generate the cert and print it.