Hi all,
I got this error when proccess a payment:
public $post_url = "apitest.authorize.net/xml/v1/request.api";
There was an error processing the transaction. Here is the error message: exception 'AuthnetCIMException' with message 'Connection error: Unknown SSL protocol error in connection to apitest.authorize.net:443
$post_url = "https://test.authorize.net/gateway/transact.dll";
Unknown SSL protocol error in connection to test.authorize.net:443
It worked before.
Is there an issue with the server or did something change?
please advice
Thanks
05-08-2017 01:14 AM
Sandbox has been upgraded to only accept TLS 1.2 connections.
Check to be sure your server and versions of Openssl and cURL supports TLS 1.2.
<?php $curl_info = curl_version(); echo $curl_info['ssl_version'];
which is going to dump out something like "OpenSSL/1.0.1k"
If your version of Openssl is less than that, upgrade it.
You can see what your particular version of cURL is using to connect with the following:
<?php $ch = curl_init('https://www.howsmyssl.com/a/check'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = curl_exec($ch); curl_close($ch); $json = json_decode($data); echo $json->tls_version ."\n";
05-08-2017 01:39 AM
Sandbox has been upgraded to only accept TLS 1.2 connections.
Check to be sure your server and versions of Openssl and cURL supports TLS 1.2.
<?php $curl_info = curl_version(); echo $curl_info['ssl_version'];
which is going to dump out something like "OpenSSL/1.0.1k"
If your version of Openssl is less than that, upgrade it.
You can see what your particular version of cURL is using to connect with the following:
<?php $ch = curl_init('https://www.howsmyssl.com/a/check'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = curl_exec($ch); curl_close($ch); $json = json_decode($data); echo $json->tls_version ."\n";
05-08-2017 01:40 AM
a certain webpage with URL is showing you Chrome ERR_SSL_PROTOCOL_ERROR each time you are trying to access it. you try the above mention method or also try your incognito windows for this.
04-04-2018 10:29 PM
Is there an issue with the server or did something change? May 2018 Editable Calendar
04-20-2018 03:59 AM
I was receiving a similar error and found this particular thread.
Your registration was failure Reason [curl] 35: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol [url] https://test.authorize.net/gateway/transact.dll
Working with a Joomla CMS based website using and extension Event Booking in test mode. Your post made me realize that my issue was I needed to be trying to make the request from an SSL connection. Once I enabled SSL on the test domain I was working with everything worked as expected. Thought I'd mention it in case anyone else doing what I did was stuck for a minute.
05-01-2018 12:03 PM