ShareFile-PowerShell icon indicating copy to clipboard operation
ShareFile-PowerShell copied to clipboard

PowerShell SDK TLS Error

Open adnkai opened this issue 5 years ago • 0 comments

Hey guys!

Is there a permament fix to tackle the PowerShell SDK TLS Errors?

The request was aborted: Could not create SSL/TLS secure channel

We've followed this guide thoroughly: http://intelligentsystemsmonitoring.com/knowledgebase/citrix/citrix-sharefile-tls-deprecation-upgrade-guidance/

Including the hyperlinks to Citrix Docs. However, the newest version of the PowerShell SDK seems to be 1.92 which we have installed. PowerShell however defaults to TLS 1.1 so as of June 2020 it won't work with ShareFile (having shifted to TLS 1.2). So we had to expand all of our scripts with the following line:

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

Is there a known workaround so we don't have to touch all the scripts?

adnkai avatar Jul 02 '20 07:07 adnkai