Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7699819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:34:05+00:00 2026-05-31T22:34:05+00:00

I have a Windows 2008 Server with IIS 7 which using a .NET C#

  • 0

I have a Windows 2008 Server with IIS 7 which using a .NET C# Application to send requests to PayPal to process payments. A few months ago I installed a Certificate which was purchased by Verisign. After installation, I was able to run my WebClient code to create SSL Connections successfully, and process payments via the PayPal NVP API (Name Value Pair).

Recently, I have been receiving an error during SSL Transaction. The specific error is as follows:

Could not create SSL/TLS secure channel

I’ve checked everything I could think of, and read many articles on StackOverflow and other places on the net.

The best resource I found was this:

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

Lookup the error in this article http://support.microsoft.com/kb/915599 Resolution J. It also may be that you are not supplying a client certificate. Most likely this is an issue with TLS or SSL3 being used and the server not understanding it.

http://blogs.msdn.com/b/jpsanders/archive/2009/01/07/you-receive-one-or-more-error-messages-when-you-try-to-make-an-http-request-in-an-application-that-is-built-on-the-net-framework-2-0.aspx

And here is a list of all the other resources I’ve tried reading and implimenting their solutions:

Various Links I’ve Tried:

http://support.microsoft.com/kb/901183

Could not create SSL/TLS secure channel – Could the problem be a proxy server?

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

The request was aborted: Could not create SSL/TLS secure channel – Decrypt returned SEC_I_RENEGOTIATE

http://social.msdn.microsoft.com/forums/en-US/netfxnetcom/thread/99d49286-5c3a-4311-a1e3-499f035ce979/

http://blogs.msdn.com/b/jpsanders/archive/2009/01/07/you-receive-one-or-more-error-messages-when-you-try-to-make-an-http-request-in-an-application-that-is-built-on-the-net-framework-2-0.aspx

http://forums.iis.net/t/1156690.aspx

I have tried the following solutions:

  1. Reinstall the certificate, and placed it into various stores (Personal, LocalComputer)
  2. Added this ServiceManager code:

    ServicePointManager.Expect100Continue = true;
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;
    
  3. Enabled logging to gain more verbose details

  4. Various other solutions listed in the above links

What is so frustrating is that this was working fine a few months ago, and now I receive this error. At first, I thought the cert expired, but it appears to be fine.

It could be a Service Pack or Hotfix for Windows Server has created a new setting or scenario which breaks SSL. I figured that re-installing the cert would solve that.

It is important to note that when I reinstalled, I simply added it to the various stores (Double Click the cert and install). I did not create a “Certificate Request”. Since its already installed and bound to the SSL Port of my IIS Application, it should be ok.

This is the code that creates the web request:

     public static Hashtable DoWebReq(string strNVP, string strNVPSandboxServer)
    {
        ServicePointManager.Expect100Continue = true;
        ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

        string _strNVP = strNVP; 

        //Create web request and web response objects, make sure you using the correct server (sandbox/live)
        var wrWebRequest = (HttpWebRequest)WebRequest.Create(strNVPSandboxServer);
        wrWebRequest.Method = "POST"; // POST

        var requestWriter = new StreamWriter(wrWebRequest.GetRequestStream());


        requestWriter.Write(_strNVP);
        requestWriter.Close();

        // Get the response.
        var hwrWebResponse = (HttpWebResponse)wrWebRequest.GetResponse();
        var responseReader = new StreamReader(wrWebRequest.GetResponse().GetResponseStream());

        //and read the response
        string responseData = responseReader.ReadToEnd();
        responseReader.Close();

        string result = System.Web.HttpContext.Current.Server.UrlDecode(responseData);

        string[] arrResult = result.Split('&');
        Hashtable htResponse = new Hashtable();
        string[] responseItemArray;
        foreach (string responseItem in arrResult)
        {
            responseItemArray = responseItem.Split('=');
            htResponse.Add(responseItemArray[0], responseItemArray[1]);
        }

        return htResponse; 
    }

Here are a collection of screen shots to show the various components of the SSL Machine:

This is the SSL Binding Settings in IIS:
SSL Bindings

Here is an overview of the installed Certs:
certs1

This is the Error I receive:
SSL Error

certs2

Certs Installed:
enter image description here

Certificate Details
enter image description here

Any advice on fixing this error would be most appreciated. Some possibilities I’ve considered but not addressed are:

  1. Could the request be taking too long? It seems fast enough… but I’ve read this could be a problem.
  2. In Internet Explorer, I do see the Green “SSL Bar” which shows this site is verified as being secure. This tells me the Cert is installed correctly, is this true?
  3. Is there a simple test I can perform with a HTTP request of some kind to help narrow down the source of the problem?
  4. Could this have anything to do with PayPal? Is it possible paypal is rejecting the request due to credentials on their end?
  5. Would implementing an ICertificatePolicy Interface be of any help in debugging the issue? I’m hoping I can just fix it.

I would think that either the SSL would work or not, it has no bearing/dependency on PayPal at all… but I could be wrong.

I feel like I should be able to just use the Name Value Pair URL which is built by the WebClient class, and send that over the pipe via IE and receive a response.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:34:07+00:00Added an answer on May 31, 2026 at 10:34 pm

    I think there is a chance that the problem is not in your client certificate, but in the one of PayPal.

    On your question:

    In Internet Explorer, I do see the Green “SSL Bar” which shows this site is verified as being secure. This tells me the Cert is installed correctly, is this true?

    No, this means that the server certificate of PayPal is verified by your browser, i.e. the PayPal’s certificate is signed by someone added as you certification authority. However, the PayPal’s certificate is not added to your trusted certificates.

    I noticed also, that PayPal’s current certificate has validity from 23.3.2011. Maybe until then your application was working, and now that it was changed the application has stopped working.

    Based on this I recommend trying to install PayPal’s own certificate as a server certificate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using IIS 7.0 + Windows Server 2008 x64. I have installed .NET
I have the following scenario: - 64bit Windows Server 2008. - 32bit .NET application
I have an application running in IIS which connects to a SQL Server 2008
i have an application which gets random session timeouts. (IIS 7.5 on Windows 2008
I am currently using Windows Server 2008 Standard and have several Hyper V machines.
I have an application running on a Windows Server 2008, that is processing uploaded
I deployed an ASP.net MVC 2 application on my Windows Server 2008 IIS7 server
Windows 2008 R2 server running PHP 5.3. I have URL Rewrite for IIS working
I have a Windows 2008 server running IIS 7 and I'm trying to configure
I have a Windows 2008 Server with IIS7 on it and a web page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.