What function calls do I need to do for mutual authentication ? I have searched a lot, but didn’t find anything useful.
Can anybody help me doing this ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The function calls you are looking for are the
SSL_set_verify()family. On the server side, specifyingSSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERTrequires a valid client certificate. On the client side, justSSL_VERIFY_PEERis needed.Both sides must also ensure that anonymous ciphers are not allowed in their specified cipher list (set with
SL_CTX_set_cipher_list()).