Konark wrote:
Hi ALL,Is there any function to load multiple client certificates ?---- Consider the case that There are multiple certificates to clientIt should chose one of the certificate appropriate for particular server .It depends the server CA list sent by server.Please suggest me some functional sequence to do this ?
Set a callback with SSL_CTX_set_client_cert_cb
and call SSL_get_client_CA_list in it. Select an appropriate key and cert, and return them in the output parameters. There is a little difficulty to find your own application context.
Thanks & Regards, konark***************************************************************************************This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
--To verify the signature, see http://edelpki.edelweb.fr/ Cela vous permet de charger le certificat de l'autorité; die Liste mit zurückgerufenen Zertifikaten finden Sie da auch.
smime.p7s
Description: S/MIME Cryptographic Signature
