From 5bda254c568efa866f86632964d1d57f4cfc300f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Tue, 15 May 2018 14:16:30 +0000 Subject: [PATCH] snippets: Use TLSv1.2 for Invoke-WebRequest --- certidude/static/snippets/windows.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/certidude/static/snippets/windows.ps1 b/certidude/static/snippets/windows.ps1 index c797ad7..578d1ef 100644 --- a/certidude/static/snippets/windows.ps1 +++ b/certidude/static/snippets/windows.ps1 @@ -1,3 +1,5 @@ +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + # Install CA certificate @" {{ session.authority.certificate.blob }}"@ | Out-File ca_cert.pem