I generated RSA public and private key pair and now I am trying to generate CSR in ESP32 following
I am getting an error while trying to load the private key file in pk context using mbedtls_pk_parse_keyfile() as in this
This return an error -15616. I checked the private key file by printing the key value and the path of private keyfile. I set the password as NULL.
Has anyone come across this issue or know what this error means? Could anyone of you please help or guide me how to solve this?
Any help is appreciated.