Systenics Solutions Logo
  • Home start here
  • Solutions services we provide
  • Products products we build
  • About Us who we are
  • Contact Us request a quote
  • Jobs work for us
  • Blog our views

Blog

Home / Blog

Enable TLS 1.2 for Authorize.Net and Salesforce API calls

  • by:
  • in:
  • tags: .NET, C-Sharp
  • 0 Comments

Introduction

This tutorial explains how to enable TLS 1.2 for Authorize.Net and Salesforce API calls. Authorize.Net and Salesforce have been preparing for using TLS 1.1 or higher since past few months. Both of them have changed their developer or sandbox accounts to use TLS 1.1 or higher or TLS 1.2. Authorize.Net plans to switch production to TLS 1.2 by Sept 18, 2017 (refer this link) and Salesforce is planning to switch to TLS 1.1 or higher by July 22, 2017 (refer this link).

Why You Need TLS 1.2?

If you are using developer sandbox account for Authorize.Net then you may have noticed following exception message - “An unexpected error occurred on a send” with inner exception as “Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.”

To solve this issue there are 2 options as mentioned in this Salesforce knowledge article:

Option 1

Add following C# line:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

 

before “var authRequest = new AuthorizeNet.AuthorizationRequest...”.

Option 2

Instead of changing the source code and deploying the build, you try this option which requires adding a registry value on your development / test / production server.

Add a new DWORD “SchUseStrongCrypto” with value “1” for following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319

 

and

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319

 

Note: The above changes are applicable only if your application is using .NET 4.5 or .NET 4.5.2. AuctionWorx uses .NET 4.5.2 and hence this solution is best suited for it.

Useful Links

One of the major reason for switching to TLS 1.2 is PCI compliance too. For PCI compliance, we came across few articles which helps us to configure server for compliance.

IIS Crypto from Nartac Software

TLS / SSL Settings from Microsoft TechNet (registry subkey to disable TLS 1.0)

Disabling TLS 1.0 on your Windows 2008 R2 server from MSDN Blogs

Share This Post:

About the Author

This post was written by on Thursday July 13, 2017.

Related Posts
  • Integration of Nexmo SMS and Verify API using C# for AuctionWorx - 15 March 2017
  • Use Lets Encrypt SSL with AuctionWorx - 25 April 2017
  • Use Lucene.Net in for faster data search - 12 February 2017
  • Integrate Salesforce with C# or ASP.NET MVC Application - 15 December 2015
  • Salesforce CRUD operations using C# in AuctionWorx (ASP.NET MVC application) - 15 June 2016
comments powered by Disqus
< Older
All Categories
  • Programming
  • General
  • DevOps
Tags
  • .NET (6)
  • Android (2)
  • ASP.NET 5 (1)
  • ASP.NET 6 (1)
  • asp.net core (1)
  • ASP.NET MVC (2)
  • AuctionWorx (2)
  • Build and Release (1)
  • CI (1)
  • Continuous Integration (1)
  • C-Sharp (7)
  • devops (1)
  • ExpressJS (1)
  • Linux (1)
  • Lucene (1)
  • NodeJS (1)
  • Phonegap (2)
  • Salesforce (2)
  • Socket.IO (1)
  • Umbraco 7 (1)
  • Visual Studio 2015 (1)
  • Visual Studio Online (1)
  • VMWare ESXI 6.0 (1)
  • Windows (2)

About Us

Systenics Solutions is a customized software development company. We specialize in building Cloud, Web, and Mobile based applications using the latest Cloud Technologies. Our fine-tuned agile processes help you smoothly progress from conceptualizing your ideas, building proto-types/wireframes to bringing your product to market, giving our clients complete visibility and control at all times. We strive to provide our global clients of various sizes with cost effective benefits of offshore development while providing expert technical services.


Microsoft Partner - Gold Cloud Platform

Contact Us

Systenics Solutions LLP

The Affaires, Unit #F-1, 1st Floor, Plot #9, Sector - 17, Opp. Bhumiraj Costarica, Sanpada, Navi Mumbai - 400705, India.

 

Telephone: +91-22-4825 0808

Email: info@systenics.com

Skype: saurabhn

GSTIN: 27AELFS2160N1ZJ

Testimonials

"Coming from a non-technical background, Saurabh and his team at Systenics took my business idea and turned it into a fully functional application which surpassed my expectations! You can be sure with them that all your IT related concerns will be covered."

Shobhan, CEO - IITJobs Inc

"The ability Systenics showed in code signing and deploying my click once code in Microsoft visual was truly awesome. I interviewed and tested 6 different development companies and only one was actually able to get the job done - that was Systenics Solutions! Professional, courteous and reliable - I highly recommend them and am very happy and eager to continue growing our business relationship now and in the near future. Thank you Saurabh"

Andre Pierre

I contracted with Systenics about 6 months ago, in an effort to customize auction software for a new company I am launching in the US. The entire process was as smooth as could be. Their estimate for the project was reasonable, and very close to the final number. I would absolutely use this company again, and I have so much confidence in their ability to work with me, I even agreed to a support agreement with them long term. Their ability to communicate with me in the US was always very timely. They listened to my thoughts and ideas, and then suggested some changes, that made my software have even greater value. I cannot thank them enough, and would highly suggest their quality services to anyone. A completely satisfied customer!

Joe Lefebvre - Pharmabid, LLC

Systenics did a great job on our customization , they clearly understood the requirements and completed the task in a timely manner. They were very thorough in project discussions and made sure that we understood how the customization works and suggested improvements when required

Mike Singh - Dr. Liquidator

Copyright © 2012-2024 Systenics Solutions LLP. All rights reserved.

BACK TO TOP