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.
9 years, 2 months ago.
Is it possible to perform Server/Client validation ?
Thank you for sharing the code. It is quite useful, however I need to perform complete validation when establishing TLS connection. Do you have example by any chance ?
Question relating to:
1 Answer
9 years, 2 months ago.
Yes, the library supports both server and client validation. You can load files for the validtion after getting new ctx.
Please find client and server side examples here. https://github.com/wolfSSL/wolfssl/blob/master/examples
Find following functions around line 670 in client/client.c.
wolfSSL_CTX_load_verify_locations, wolfSSL_CTX_use_certificate_chain_file, wolfSSL_CTX_use_PrivateKey_file,
I hope this helps.
Kojo