Skip to content

Instantly share code, notes, and snippets.

View tivrobo's full-sized avatar

Anatolii Ivashyna tivrobo

  • Ukraine
View GitHub Profile
@tivrobo
tivrobo / EnableTls12ClientForDotNet.ps1
Created July 25, 2020 11:54
Configure the .NET Framework to support TLS 1.2
#
# https://docs.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-client#bkmk_net
# you need to reboot the OS for the new settings to take effect
#
function AddRegValue {
param (
$Path,
$Name,
$Value,