PDA

View Full Version : The request was aborted: Could not create SSL/TLS secure channel.


alban
03-15-2008, 07:48 AM
I am trying to call HttpWebRequest like this:



HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://api.paypal.com/nvp? (https://api.paypal.com/nvp?[some)[some parameters]");


I then read the response like this:


HttpWebResponse wr = (HttpWebResponse)request.GetResponse();


But unfortunately, I get the following error:


"The request was aborted: Could not create SSL/TLS secure channel."


Do you know what may be causing this?


Any help would be appreciated...


-Alban

bruce
03-16-2008, 02:56 AM
are you getting this on our server or your dev machine?


Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

alban
03-17-2008, 10:25 AM
I think this is a security error related to the paypal certificate. They have two authentication options: certificate & signature. I am using the signature now and everything seems to be working correctly. I just don't know if that's a problem with the certificate on the asp server or if it's a paypal issue...