Answered by:
Get-HpcClusterProperty stops working if TLS 1.0 is disabled

Question
-
Hi,
WE are running HPC cluster 2016 Update 3 in our environment. Recently we enabled TLS 1.2 only on all server and discovered that Get-HpcClusterProperty cmdLet stopped working. The exception is below. After we enabled TLS 1.0 it is start working again. Is it known issue?
Get-HpcClusterProperty : Retry Count of RetryManager is exhausted.
At line:1 char:1
+ Get-HpcClusterProperty
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.Compu...ClusterProperty: GetClusterProperty) [Get-HpcClusterProp
erty], RetryCountExhaustException
+ FullyQualifiedErrorId : Microsoft.ComputeCluster.CCPPSH.GetClusterProperty Friday, June 5, 2020 2:37 PM
Answers
-
Hi -sem-,
Yes. You may need to enable SchUseStrongCrypto and SystemDefaultTlsVersions registry keys to make it work. Check the link here,
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#schusestrongcrypto
Cheers,
Yutong Sun
- Marked as answer by -sem- Thursday, July 2, 2020 12:59 PM
Tuesday, June 9, 2020 3:38 PM -
If you don't want to modify the registry keys, you can run the following command line before running HPC PowerShell cmdlets:
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12'
- Marked as answer by -sem- Thursday, July 2, 2020 12:59 PM
Monday, June 22, 2020 3:54 AM
All replies
-
Hi -sem-,
Yes. You may need to enable SchUseStrongCrypto and SystemDefaultTlsVersions registry keys to make it work. Check the link here,
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls#schusestrongcrypto
Cheers,
Yutong Sun
- Marked as answer by -sem- Thursday, July 2, 2020 12:59 PM
Tuesday, June 9, 2020 3:38 PM -
If you don't want to modify the registry keys, you can run the following command line before running HPC PowerShell cmdlets:
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12'
- Marked as answer by -sem- Thursday, July 2, 2020 12:59 PM
Monday, June 22, 2020 3:54 AM