I am sending a request to third party website by PostAsJsonAsync as below:
var nbParamsJson = Newtonsoft.Json.JsonConvert.SerializeObject(nbParams);
var httpContent = new StringContent(nbParamsJson);
try
{
var response = await client.PostAsJsonAsync(siteUrl, httpContent);
}
catch (Exception exp)
{
}
which throws an exception: [The request was aborted: Could not create SSL/TLS secure channel.] I know my website in test environment does not have a SSL certificate and probably is happening because the third-party website has SSL certificate. I want to know is there any way to create SSL channel without moving to SSL.