title: PayPal works fine on localhost, but fails while works on aws server
body: <p>I have integrated paypal to my MVC4 application. PayPal dll version 1.5.0.0, NewtonJson dll version 6.0.0.0
  At first i got exception at localhost while getting access token</p>
  
  <pre><code>Dictionary&lt;string, string&gt; sdkConfig = new Dictionary&lt;string, string&gt;();
  sdkConfig.Add("mode", "sandbox");
  string accessToken = new PayPal.Api.OAuthTokenCredential("MyClientId", "MySecretId", sdkConfig).GetAccessToken();
  </code></pre>
  
  <p>Exception was </p>
  
  <pre><code>Invalid HTTP response: The request was aborted: Could not create SSL/TLS secure channel.
  </code></pre>
  
  <p>From stackoverflow I got a fix </p>
  
  <pre><code>System.Net.ServicePointManager.Expect100Continue = true;
  System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
  System.Net.ServicePointManager.DefaultConnectionLimit = 9999;
  </code></pre>
  
  <p>Its currently working fine on my localhost, but getting exception when uploaded and run on AWS windows instance.</p>
  
  <pre><code>Retried 3 times.... Exception in PayPal.HttpConnection.Execute(). Check log for more details.
  </code></pre>
  
  <p>Can somebody help me on this ?</p>
  
  <p>UPDATE</p>
  
  <hr>
  
  <p>I have checked with uploading the same code in mochahost server. Its working perfectly there too
  My EC2 instance is Windows Server 2008 DataCenter, 32 bit with IIS7</p>