Relative Content

Tag Archive for asp.net-mvcsslasp.net-web-apitls1.2rest-client

Error to restClient- The request was aborted: Could not create SSL/TLS secure channel

In my ASP.NET MVC project (.Net Framework 4.7.2), I am consuming as API which is hosted on another server developed by vendor. Whenever I tried to hit same API through code, I am getting an error – “The request was aborted: Could not create SSL/TLS secure channel.“. But when I hit same same API through SOAP UI from server (Windows 2019) where my code is deployed, it provide proper response without error.