System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel error solved /hatası ve çözümü

Merhaba,
Projenizde “System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)” hatası alıyorsanız ,hatanın açıklamasından anlaşılabileceği gibi serfika hatası alınmaktadır. Çözümü için varsa servisi çağırdığınız yere System.Net namespace içinde ServicePointManager kullanarak;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3
| SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
hatayı geçebilirsiniz.
Soru ve iletişim için iletişim formundan bana ulaşabilirsiniz.
İlerleyen yazılarda görüşmek üzere.
Oğuz ALTUNTAŞ © 2021