Good day all. I'm using a payment gateway on a site with a credit card payments, the bank gateway send to all its customers that it will stop all SSL connections starting from the 3rd of January, so I must be sure to doing the right things without tests.
actually I'm using this configuration just before making the connection:
<?php
curl_setopt($curl_handle, CURLOPT_URL,$to_url);
curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER,1);
curl_setopt($curl_handle, CURLOPT_POST, 1);
curl_setopt($curl_handle, CURLOPT_POSTFIELDS, $data);
$buffer = curl_exec($curl_handle);
curl_close($curl_handle);
?>
this is set to false due to debugging needs.
curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false);
So, I've read that adding:
CURLOPT_SSLVERSION => 1
should force the use of TLS, is that true? Does adding this option will prevent the gateway to ignore my requests? Does it needs some other options?