Topic: curl with openssl

Hi,

Running a Centos 7 with remi7 repo
with
PHP 5.6.33
OpenSSL 1.0.2k-fips
curl 7.57.0 (x86_64-pc-linux-gnu) libcurl/7.57.0 OpenSSL/1.0.2k zlib/1.2.7

However, in PHP when checking phpinfo it says Curl uses
SSL Version     NSS/3.28.4

This causes some issues for an app we are connecting to as it requires OpenSSL to work.
Any ideas on how to change this?

Re: curl with openssl

Sorry, there is no way to fix this easily.

(requires a rebuild of curl, which I obviously don't want to maintain in my repository for obvious reason, i.e. critical system library)

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

3 (edited by dannemannen 2018-01-04 14:31:04)

Re: curl with openssl

Is there some way to rebuild the PHP on my machine to use the curl I have installed?
Or do I need to change repo? (is there even a repo with php 5.6 and curl with openssl?)

Re: curl with openssl

> Is there some way to rebuild the PHP on my machine to use the curl I have installed?

rebuilding the RPM, as soon as curl is also a RPM.

> Or do I need to change repo? (is there even a repo with php 5.6 and curl with openssl?)

Not that I'm aware of
(changing curl is a nightmare)

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70