Weird. Curl is consistent. It does not work (in this case) without -k (--insecure) option or explicitly setting ca-bundle on all OS versions.
Thanks for pointers, will remove --with-curlwrappers (marked experimental) from my PHP configure line. BTW what is the plan with --with-curlwrappers? Will this eventually replace current stream code as default wrapper for communication over the net? Thanks, b. On 21 February 2012 18:16, Rasmus Lerdorf <ras...@lerdorf.com> wrote: > On 02/21/2012 06:54 AM, Bostjan Skufca wrote: > > Hi all, > > > > we've bumped into a possible bug where file_get_contents() returns empty > > string if we try to get contents from HTTPS source. This error only > occurs > > if PHP is compiled with --with-curlwrappers. > > > > Funny thing is this only happens on slackware 13.1, but not on 13.0 or > > older. I've checked ./configure and make output and they are almost > > identical, strace does not return anything meaningful. > > Environment is highly controlled by configuration management, software is > > built in the same way, except underlying OS versions (and very basic libs > > and tools versions) differ. > > > > Two questions: > > 1. Do any of you guys have any idea about this? > > 2. How to continue exploring deeper to discover what actually this error > is > > all about? > > Does a command line curl call to the same SSL URL work? > > -Rasmus >