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
Solved! Go to Solution.
05-22-2017 09:53 AM - edited 05-22-2017 09:58 AM
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";
05-22-2017 11:12 AM - edited 05-22-2017 11:12 AM
Reason what curl used TLS 1.0, because of was old curl version (earlier 7.34)
Thank you so much
05-23-2017 08:12 AM
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";
05-22-2017 11:12 AM - edited 05-22-2017 11:12 AM
Reason what curl used TLS 1.0, because of was old curl version (earlier 7.34)
Thank you so much
05-23-2017 08:12 AM
You're welcome.
05-23-2017 08:42 AM
im using TLS 1.2
still i cannot connect
it gives me error connecting to authorize.net
03-27-2018 01:51 PM