openssl and missing functions in esp-idf
Posted: 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.
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.