Hello,
If I set TScHttpWebRequest.SSLOptions.OnServerCertificateValidation it get fired in order to verify server certificate. So far so good. But I want also client to send self-signed certificate to the server, so I set manually Certificate and Key in Memory Storge. I can confirm the server verifies the client, but in client code OnServerCertificateValidation is not fired anymore when I set client cert and key.
Is it intentional or I am doing something wrong?
Thanks.
TScHttpWebRequest.SSLOptions.OnServerCertificateValidation not fired
Re: TScHttpWebRequest.SSLOptions.OnServerCertificateValidation not fired
TScHttpWebRequest.SSLOptions.OnServerCertificateValidation is invoked only once on connection attempt during server certificate validation. Make sure that the property TScHttpWebRequest.SSLOptions.CACertName is set to an empty string.
If that doesn't help, please create and send us a sample project (including all necessary files) demonstrating the issue, through the contact form: https://www.devart.com/company/contactform.html
If that doesn't help, please create and send us a sample project (including all necessary files) demonstrating the issue, through the contact form: https://www.devart.com/company/contactform.html