Skip to content

Commit

Permalink
Adding TLS negotiation support for older versions of .NET
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Dufour <adufour@chef.io>
  • Loading branch information
andy-dufour committed Apr 17, 2018
1 parent 1a165e9 commit 17fd573
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[Console]::OutputEncoding = New-Object -typename System.Text.ASCIIEncoding
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'

function Get-PlatformVersion {
switch -regex ((Get-Win32OS).version) {
Expand Down

0 comments on commit 17fd573

Please sign in to comment.