Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding TLS 1.2 support for the PowerShell module #154
Currently, PowerShell defaults to using TLS 1.0 for Invoke-WebRequest. This change forces use of TLS 1.2.
Fixes #153 RFE: TLS 1.2 support
Motivation and Context
If the Rubrik cluster disables TLS 1.0, the PowerShell module will stop working. Enforcing TLS 1.2 for the Rubrik PowerShell module solves this issue.
How Has This Been Tested?
Rubrik's SE-3 lab has TLS 1.0 disabled. With the updated module, Get-RubrikVM, Get-RubrikDatabase, and New-RubrikSnapshot were tested to validate no issues with connectivity.
Types of changes
What types of changes does your code introduce? Put an
Go over all the following points, and put an