"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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php