Re: [INTERNALS-WIN] PHP OpenSSL v0.9.8 compatibility issue with OpenSSL v1.0

[email protected] (Pierre Joye)
Newsgroups php.internals.win
Message-ID <CAEZPtU4qP+Oz0c2p7OJrO98cytCfeTeaY-2n9g6NMdSAsSfh1A@mail.gmail.com>
hi,

On Mon, Dec 10, 2012 at 7:53 PM, Richard Genthner
<[email protected]> wrote:
> Pierre,
> We have noticed a issue with compatibility with the openssl extension distributed with Windows PHP, when connecting to a server with OpenSSL v1.0.
>
> WARNING: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
> error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)
>
> We found this issue when fsockopen(ssl://hostname:443/index.php) but if we switch to fsockopen(sslv3://host/index) it works just fine. Can we get a php_openssl.dll built with openssl 1.0 for php 5.3.19 ?

Hm, SSL should work no matter which version is used on one side or the
other, as long as it supports it :)

HoweveI do not know all the compatibility details of openssl 0.9.x
with SSLv3, http://www.openssl.org/docs/ssl/ssl.html can tell a bit
more.

Did you try using curl+openssl 0.9.x or other apps? It could be a bug
or some config issues on the openssl side.

Cheers,
--
Pierre

@pierrejoye
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.