cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Fwd: Is it possible to build a version of PHP 5.2.14 that supports TLS 1.2 ?

From: Lena Nilsson <lenani2020_at_gmail.com>
Date: Thu, 30 Jun 2016 09:51:01 -0400

My apologies, I meant the VC++ 6 compiler, not C++ 9. Sorry about that!

---------- Forwarded message ----------
From: Lena Nilsson <lenani2020_at_gmail.com>
Date: Thu, Jun 30, 2016 at 9:45 AM
Subject: Re: Is it possible to build a version of PHP 5.2.14 that supports
TLS 1.2 ?
To: "Khalid A.S." <khalidco_at_gmail.com>, curl-and-php_at_cool.haxx.se

Khalid,

Good morning!

Unfortunately I wasn't able to compile a working version of PHP 5.2 that
supports TLS 1.2. A friend of a member of the original PHP development team
was kind enough to send me a clean version of deps-5.2-vc6-x86.7z, but even
so, I was ultimately not able to build a working version, although I
believe I came close.

I tried a variety of versions of the C++ 9 compiler on a Win 7 laptop and
also in XP mode. I'm not sure why I couldn't get it to work, I'm guessing
some version mismatch on the machine I used.

Ultimately I ended up writing a small webservice that ran under the current
version of PHP 5.6, which supports TLS 1.2, on the same server as the Web
application that requires PHP 5.2. The PHP application posted the data for
the request that required TLS 1.2 to the webservice. The webservice made
the request to PayPal or UPS, and returned the result to the PHP 5.2 app.
It's not a pretty solution, but it did appear to get the job done.

I attached a list of the bookmarks I accumulated while trying to build the
custom version of PHP; some of them are useful, some not. Gmail made a
horrible mess of the list, so I am attaching as a .txt file.

Hope this helps!
Lena

On Thu, Jun 30, 2016 at 7:00 AM, Khalid A.S. <khalidco11_at_gmail.com> wrote:

> Hello there..
>
> I was searching online and found your message about php 5.2.14 and TLS.
> My apologies for contacting you directly, but I am facing a similar problem
> with SSLV3, curl, and php. It keeps giving me this error :
>
> error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
>
> Did you find a solution to the problem?
> Please share it if possible.
>
> Regards,
> Khalid...
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

Received on 2016-06-30