TScHttpWebRequest.SSLOptions.OnServerCertificateValidation not fired
Posted: Tue 16 Mar 2021 07:42
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.
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.