You need to sign in to do that
Don't have an account?
jsievers
How to confirm cURL is using TLS 1.2: Posting to servlet.WebToLead rerouting to weakhttps page.
Hello,
My code works fine until I activate the upcoming TLS update. Then, it reroutes me to a Salesforce page weakhttps.jsp?l=1 with a "Stronger security is required" message. As far as I can tell TLS1.2 is active and working, but is there a way to check that cURL is using it?
This is running on Windows 7, iis. The relevant section of my code:
My code works fine until I activate the upcoming TLS update. Then, it reroutes me to a Salesforce page weakhttps.jsp?l=1 with a "Stronger security is required" message. As far as I can tell TLS1.2 is active and working, but is there a way to check that cURL is using it?
This is running on Windows 7, iis. The relevant section of my code:
curl_setopt($ch, CURLOPT_SSLVERSION, 6); curl_setopt($ch, CURLOPT_URL, "https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8"); curl_setopt($ch, CURLOPT_POST, count($kv)); curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/cacert.pem'); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
cURL version 7.49.1
PHP 5.5