Staniel
New Pleskian
Hello,
I am having some issues trying to connect to the Stripe Payments API using WHMCS I am getting the following error message in the logs "(Network error [errno 35]: SSL version range is not valid.)" I have ran a script to get the TLS version and the following is coming back:
I have tried to force a TLS v1.2 connection from a SSH session and I have got the following returned:
I am struggling to work out what is causing this issue, does anyone have some pointers that I can go look at? I have attached aPDF of the phpinfo for the server as well.
Many thanks
Stan
I am having some issues trying to connect to the Stripe Payments API using WHMCS I am getting the following error message in the logs "(Network error [errno 35]: SSL version range is not valid.)" I have ran a script to get the TLS version and the following is coming back:
OS: Linux
uname: Linux ocelot.xxxxxxxxxxx.co.uk 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64
PHP version: 7.2.11
curl version: 7.62.0
SSL version: NSS/3.36
SSL version number: 0
OPENSSL_VERSION_NUMBER: 1000105f
TLS test (default): TLS 1.2
TLS test (TLS_v1): TLS 1.0
TLS test (TLS_v1_2): Error! errno = 35, msg = SSL version range is not valid.
I have tried to force a TLS v1.2 connection from a SSH session and I have got the following returned:
[root@ocelot ~]# curl --tlsv1.2 -v https://api.stripe.com
* Trying 54.149.153.72...
* TCP_NODELAY set
* Connected to api.stripe.com (54.149.153.72) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* NSS error -12168 (SSL_ERROR_INVALID_VERSION_RANGE)
* SSL version range is not valid.
* Closing connection 0
curl: (35) SSL version range is not valid.
I am struggling to work out what is causing this issue, does anyone have some pointers that I can go look at? I have attached aPDF of the phpinfo for the server as well.
Many thanks
Stan