Hi Henrik,
Thanks for the tweak to the HTTP Task.
I can confirm that the HTTP Task in 7.7.7. is now executing against TLS 1.2 Web Sites and returning consistent results with a Powershell check of a PCI Compliant website:
--- snip - Powershell Task Equivalent Check with Enforced TLS 1.2 ---
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest request, int certificateProblem) {
return true;
}
}
"@
[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
[System.Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest "https://
**** Your PCI / TLS 1.2 Website Here ***" -UseBasicParsing
--- snip ---
Old Error Encountered in prior versions < VisualCron 7.7.7 :
<Error getting HTTP response: The underlying connection was closed: An unexpected error occurred on a send.>
Thanks !
K
Edited by user
2015-10-07T23:51:17Z
|
Reason: Include description of Powershell Equivalent Check