I have a server CA cert, device cert and the device private key. I am using mbedtls
and want to be able to create a mutual authentication connection between the device and the server. I also have to RSA PKCS and am getting an error whilst parsing the private key - mbedtls_pk_parse_keyfile returned -0x3e80
.
Can some kind soul point to an example using mbedtls
or help me understand the problem?