Error code when using mbedtls_x509_crt_parse

Hi I am using working on a project using a certificate that is given to me by a client and when I try to parse the cert using mbedtls_x509_crt_parse I get the error code 0x262e - Signature algorithm (oid) is unsupported : OID - OID is not found.
what does this error code mean and how can I resolve it as its my first time using MbedTLS and I have no idea where to start fixing this

Kind Regards and thanks in advance

Connor Davies

Hello,

I have no experiences with MbedTLS, but it seems you need to add the flag MBEDTLS_SHA1_C in mbedtls configuration file.

BR, Jan

Hello Jan,
I have that enabled in my config file but I am still getting the same error of x509 - Signature algorithm (oid) is unsupported : OID - OID is not found.
I’ll continue to look into it and post an answer on here if i figure out whats wrong but if you need more information off me to help you figure this out with me just let me know

Kind Regards

Connor Davies

Sorry, I do not have more ideas.

BR, Jan