Re: configure bug with static openssl 1.1.1? - bugid 77288

From: Date: Mon, 28 Oct 2019 04:31:31 +0000
Subject: Re: configure bug with static openssl 1.1.1? - bugid 77288
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-107719@lists.php.net to get a copy of this message
"Helmut K. C. Tessarek" in php.internals (Sun, 27 Oct 2019 22:31:52 -0400): >Hmm, it does not fail on my machine as you can see from the results I posted >earler. But I just had an idea: >The extension is very picky about having a proper ca file. I ran into similar >issues a while back. > >Can you please try to set openssl.cafile in php.ini? > >I always get the latest version from >http://curl.haxx.se/ca/cacert.pem Thanks! That did the trick. Silly that OpenSSL 1.0.1e (Centos 6 default) and OpenSSL 1.0.2-fips did not have the problem. Apparently they found the ca_bundle.crt in /etc/ssl/ (symlinked to /etc/pki/tls/certs/). In the mean time I also tried it with a Windows build. It succeeded without any php.ini. For the interested people: https://phpdev.toolsforresearch.com/php-7.2.24-static-openssl-1.1.1d.zip -- Jan

« previous php.internals (#107719) next »