Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 6 months ago.
mbedtls error when loading a root certificate with the last mbed-os 5.2.0
Hello
I have a run-time error when the mbedtls_x509_crt_parse function is called to load a root certificate. The application is built with the latest mbed-os 5.2.0 (rev e435a07).
See my simple test application
[Repository '/users/jhamel/code/mbed-test-tls-certificate/' not found]
Running on K64F board, I have the following error:
-0X262E = 'X509 - Signature algorithm (oid) is unsupported : OID - OID is not found'
But, this same application (with the same mbedtls configuration) built with an oldest mbed-os 5 release was working correctly. The mbed-os.lib was:
https://github.com/ARMmbed/mbed-os/#b396436432d055a5c4a7d0364a1a52177a61bfcf)
Anyone has any idea what might be the mistake ? (mbedtls configuration ? my root certificate not supported with the latest mbed-os release ?)
Thank in advance, Jerome.
Continuing to debug my issue by using the off-line compiler, I found my issue. Need to add the flag MBEDTLS_SHA1_C in mbedtls configuration file.
posted by Jerome Hamel 27 Oct 2016