Answers for "could not create ssl/tls secure channel powershell"

1

invoke-webrequest ssl

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -Uri https://apod.nasa.gov/apod/
Posted by: Guest on September-29-2020
4

could not create ssl/tls secure channel

// using System.Net;
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
// Use SecurityProtocolType.Ssl3 if needed for compatibility reasons
Posted by: Guest on September-29-2020

Code answers related to "could not create ssl/tls secure channel powershell"

Browse Popular Code Answers by Language