Coder Social home page Coder Social logo

TLS 1.2 about infusionsoft.net HOT 9 OPEN

eventday avatar eventday commented on July 22, 2024
TLS 1.2

from infusionsoft.net.

Comments (9)

markwsanders avatar markwsanders commented on July 22, 2024 1

I was able to fix this issue by placing

System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;

AFTER EACH call to Connect(). It only seemed to work if I did it after each call. Just doing an insert of the line earlier in the program did not seem to help.

Example:

var customer = new Customer(ApplicationName, ApiKey);
var client = customer.Connect();
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
return client;

from infusionsoft.net.

axyl avatar axyl commented on July 22, 2024 1

We didn't need to do that. It seems as if the fixes in the code had already been a few months back. As long as you're compiling for 4.5 or above.

We had been using the Nuget library to reference the binary, but that's old.

Removing that and compiling this library from source and referencing it was all we had to do.

If your projects aren't targeting 4.5 or above, then you'll likely need to do what @markwsanders is talking about above...otherwise it shouldn't be necessary.

from infusionsoft.net.

climbtherock avatar climbtherock commented on July 22, 2024

I am receiving an SSL/TLS abort error. From what I can see the call is being made using TLS1.0. I would also like to know how to specify the TLS version to get around this.

from infusionsoft.net.

ward0094 avatar ward0094 commented on July 22, 2024

we are also seeing this issue and need a fix ASAP. Our system is currently down do to this security protocol change.

from infusionsoft.net.

joeldahlin avatar joeldahlin commented on July 22, 2024

@markwsanders your fix worked for me. Thanks!

from infusionsoft.net.

TraGicCode avatar TraGicCode commented on July 22, 2024

@axyl

Thanks for the information. I will definitely compile this myself since it's unfortunately an abandoned github repo and the newer versions are not on nuget.

As a side note i would recommend that if the version of .NET the application is compiled for is below 4.6 ( whichever one started using the stronger cryptography, i would instead of hardcoded the TLS version everywhere in the code, which is not recommended by microsoft and a bad idea is to simply add the following registry key to your servers to have the start using stronger cryptography protocols by default.

https://blogs.msdn.microsoft.com/friis/2017/10/09/troubleshooting-tls-ssl-scenario-2/

from infusionsoft.net.

mativarini avatar mativarini commented on July 22, 2024

I did the same as @axyl ! Get the repo in my machine, compile it and add the reference to the dll instead of the nugget package and that worked for me.

I am still wondering why...if it was becouse the nugget package was not up to date (although it sayed it was) or just that adding the dll localy, made it recognise that was on .net 4.5 and used TLS 1.2 by default

from infusionsoft.net.

axyl avatar axyl commented on July 22, 2024

The Nuget package hasn't been updated since 2014.

@scottcate upgraded the project to 4.5 back in April.

@scottcate Do you have access to the Nuget package for this project to upgrade that too?

from infusionsoft.net.

mativarini avatar mativarini commented on July 22, 2024

That makes sense @axyl !

I forgot to check the history of the commits to confirm my doubt

We may need to change the Open state of this issue right?

from infusionsoft.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.