cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown SSL protocol sandbox SSL false

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

 

 

5 REPLIES 5

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";

 

Powered by NexWebSites.com -
Certified Authorize.net developers
NexusSoftware
Trusted Contributor

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";

 

Powered by NexWebSites.com -
Certified Authorize.net developers
NexusSoftware
Trusted Contributor

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.

Is there an issue with the server or did something change? May 2018 Editable Calendar

jilan102
Member

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.