1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-22 08:15:18 +00:00

snippets: Use TLSv1.2 for Invoke-WebRequest

This commit is contained in:
Lauri Võsandi 2018-05-15 14:16:30 +00:00
parent ce93fbb58b
commit 5bda254c56

View File

@ -1,3 +1,5 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
# Install CA certificate
@"
{{ session.authority.certificate.blob }}"@ | Out-File ca_cert.pem