cancel
Showing results for 
Search instead for 
Did you mean: 

SSL connect error

Hello

When try send request to AuthnetAIM arise problem with connection SSL on our test server.
We switched off old TLS 1.0 and 1.1, as had been said in instruction.
But we still have problem with SSL connect error.
We checked certificate by https://www.ssllabs.com/ssltest/analyze.html and get next result

Protocols
TLS 1.2 Yes
TLS 1.1 No
TLS 1.0 No
SSL 3 No
SSL 2 No

Server Key and Certificate #1

Key RSA 2048 bits (e 65537)
Weak key (Debian) No
Issuer RapidSSL SHA256 CA
AIA: http://gp.symcb.com/gp.crt
Signature algorithm SHA256withRSA
Extended Validation No
Certificate Transparency Yes (certificate)
OCSP Must Staple No
Revocation information CRL, OCSP
CRL: http://gp.symcb.com/gp.crl
OCSP: http://gp.symcd.com
Revocation status Good (not revoked)
DNS CAA No (more info)
Trusted Yes


Additional Certificates (if supplied)

Certificates provided 2 (2508 bytes)
Chain issues None
Valid until Fri, 20 May 2022 23:45:51 UTC (expires in 4 years and 11 months)
Key RSA 2048 bits (e 65537)
Issuer GeoTrust Global CA
Signature algorithm SHA256withRSA

nginx/1.10.3
PHP 5.6
Can you please tell us about mistake in our settings.

Thanks


alexanderm
Member
2 ACCEPTED SOLUTIONS

Accepted Solutions

Try running the following test script, to see what version TLS your cURL is using to connect with:

 

<?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

View solution in original post

NexusSoftware
Trusted Contributor

Reason what curl used TLS 1.0, because of was old curl version (earlier 7.34)


Thank you so much

View solution in original post

alexanderm
Member
4 REPLIES 4

Try running the following test script, to see what version TLS your cURL is using to connect with:

 

<?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

Reason what curl used TLS 1.0, because of was old curl version (earlier 7.34)


Thank you so much

alexanderm
Member

You're welcome.

Powered by NexWebSites.com -
Certified Authorize.net developers

im using TLS 1.2

 

still i cannot connect

it gives me error connecting to authorize.net