mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 16:25:17 +00:00
snippets: Use TLSv1.2 for Invoke-WebRequest
This commit is contained in:
parent
ce93fbb58b
commit
5bda254c56
@ -1,3 +1,5 @@
|
|||||||
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||||
|
|
||||||
# Install CA certificate
|
# Install CA certificate
|
||||||
@"
|
@"
|
||||||
{{ session.authority.certificate.blob }}"@ | Out-File ca_cert.pem
|
{{ session.authority.certificate.blob }}"@ | Out-File ca_cert.pem
|
||||||
|
Loading…
Reference in New Issue
Block a user