"Powershell - Run Script File" action Fails To Download File
search cancel

"Powershell - Run Script File" action Fails To Download File

book

Article ID: 236179

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

After making registry changes to disable TLS 1.0,1.1 and enable TLS 1.2 only our "Powershell - Run Script File" actions are failing. These scripts download files from a source repository via http. 

 

Environment

Release : 6.7

 

Cause

The powershell script attempting to download a file is using the Net.WebClient powershell class. The change made at the operating system level, through the registry updates, also limits powershell. 

Resolution

Discuss this problem with your Powershell script developer. They may want to consider adding a line to the powershell script similar to this:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;