Custom Apps: TLS 1.0 and 1.1 deprecation breaks custom .NET app connection to Rally
search cancel

Custom Apps: TLS 1.0 and 1.1 deprecation breaks custom .NET app connection to Rally

book

Article ID: 97274

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction

In testing to prepare for the deprecation of support for TLS 1.0 and 1.1, found that a custom application that was created using the Rally Rest API DLL for .NET, version 2.0.1.0 failed to connect to Rally.

Resolution

Upgrade to Rest API .NET 3.3.1 located here: https://github.com/RallyTools/RallyRestToolkitFor.NET/releases.

Alternatively can make a code change like the one referenced here: https://github.com/RallyTools/RallyRestToolkitFor.NET/blob/d6c2f58781eddf986a17d7b016ac397921ac39ce/Rally.RestApi/RallyRestApi.cs#L1426

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;

^^ That line is basically the fix.