openssl and missing functions in esp-idf

mrdebug
Posts: 43
Joined: Sat Jul 27, 2019 8:26 am

openssl and missing functions in esp-idf

Postby mrdebug » Tue Mar 14, 2023 9:48 am

Hi, in order to verify the remote server I have to load the server certificate and all the CA chain.
I have tested my code on Linux where, to load the certificate I use the function
SSL_CTX_use_certificate_file()
and to load the CA chain I use the function
SSL_CTX_load_verify_locations()
The problem is that the SSL_CTX_load_verify_locations() function is not available in esp-idf.
Is there another way to load the CA chain or is there another function similar to SSL_CTX_load_verify_locations()?

Many thanks.

Who is online

Users browsing this forum: Teh2024 and 91 guests