How to make a web client app use TLS 1.2


  • I'm having trouble getting clarity to something.

    We have several systems here that make calls to external systems using REST.

    Currently these systems support TLS 1.0 but in the near future they will not support anything less than TLS 1.2.

    An example is Github and yesterday they did a test and restricted their REST API to accept only TLS 1.2 connections. I got failures using a tool Smartgit (on my Windows 10 desktop) and also with a utility that uses Octokit.Net to talk to Github.

    This is explained more in this post:

    As I say we have other service providers that are also doing a similar thing and one of these is providing NO test option !

    We must get our systems to support TLS 1.2 before March 1 for example.

    But I have no idea what we are to do, must we do something to a machine's registry? or is that only for inbound connection on Server 2008?

    Must we change our code to use a specific version of .Net?

    Must we add code to set this:

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

    If so where? at app start up? before a connection is created? ?

    Must we do some combination of all of these?

    Any help much appreciated!


    Friday, February 9, 2018 8:35 PM

All replies