hi
iam writing a code to access a service on another server
the certificate was installed with the private key on my server
when i run the test
if (cer.HasPrivateKey)
{
Response.Write("OK");
}
else
{
Response.Write("Nooo");
}
i got ok = so the certificate has a private key
but when i run the whole code
try
{
// ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
HttpWebRequest httpWReq =
(HttpWebRequest)WebRequest.Create("https://gw.bisan.com/api/apdemo_6");
Encoding encoding = new UTF8Encoding();
string postData = @"{""user"":""cube"",""password"":""258970"" ...
Go to the complete details ...