Connection over tls1.2
Posted: Sun May 02, 2021 8:26 pm
we trying to connect with our provider gateway with tls1.2 as they,but with no luck as code below
client.EnabledSslProtocols = SslProtocols.Tls12;
client.ClientCertificates.Add(new X509Certificate2("client_certificate.p12", "cert_password"));
when i set EnabledSslProtocols to none every thing works great.
what is the problem and how can i catch the actual connection error message ?
lib version : 2.7.0.1866
Br
Mohammed
client.EnabledSslProtocols = SslProtocols.Tls12;
client.ClientCertificates.Add(new X509Certificate2("client_certificate.p12", "cert_password"));
when i set EnabledSslProtocols to none every thing works great.
what is the problem and how can i catch the actual connection error message ?
lib version : 2.7.0.1866
Br
Mohammed