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

Discussion in 'ASP.NET 2.0' started by alban, Mar 15, 2008.

  1. I am trying to call HttpWebRequest like this:



    HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://api.paypal.com/nvp?[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
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    are you getting this on our server or your dev machine?


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. 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...
     

Share This Page