mm6vjq
Last Updated: February 25, 2016
·
5.049K
· nishant

Ignore SSL Certificate Check in PowerShell

To simply ignore SSL certificate check while making HTTP Requests from PowerShell, add below line:

[System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }

For more details check,
http://www.agarwalnishant.com/2014/07/ignore-ssl-certificate-check-in.html