Bug #75086 [NoF->Opn]: steam_socket_enable_crypto ignores verify_peer, verify_peer_name and allow_self
| From: | requinix@php.net | Date: | Sun, 27 Aug 2017 06:28:50 +0000 |
| Subject: | Bug #75086 [NoF->Opn]: steam_socket_enable_crypto ignores verify_peer, verify_peer_name and allow_self | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-210828@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75086&edit=1
ID: 75086
Updated by: requinix@php.net
Reported by: root dot talis at gmail dot com
Summary: steam_socket_enable_crypto ignores verify_peer,
verify_peer_name and allow_self
-Status: No Feedback
+Status: Open
Type: Bug
Package: OpenSSL related
Operating System: Elementary OS 0.4.1 Loki
PHP Version: 7.1.8
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2017-08-27 04:22:30] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2017-08-21 08:57:52] root dot talis at gmail dot com
I managed to make a build of PHP-7.1.8 with OpenSSL 1.0.2g instead of 1.1.0f that doesn't have
this issue.
------------------------------------------------------------------------
[2017-08-18 09:43:45] root dot talis at gmail dot com
> Does your actual certificate file include that meta data at the beginnig?
>
> Bag Attributes
> localKeyID: 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 00 11 22 33
subject=/C=RU/ST=Moscow/O=Removed/OU=Removed/CN=Removed/emailAddress=removed@example.com
>
> issuer=/C=RU/ST=Moscow/L=Moscow/O=Removed/OU=Removed/CN=www.example.org/emailAddress=removed@example.com
>
>
> If so, please remove it and retry.
Yes, it does. Removing the data didn't help.
------------------------------------------------------------------------
[2017-08-18 09:35:54] kelunik@php.net
Does your actual certificate file include that meta data at the beginnig?
Bag Attributes
localKeyID: 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 00 11 22 33
subject=/C=RU/ST=Moscow/O=Removed/OU=Removed/CN=Removed/emailAddress=removed@example.com
issuer=/C=RU/ST=Moscow/L=Moscow/O=Removed/OU=Removed/CN=www.example.org/emailAddress=removed@example.com
If so, please remove it and retry.
------------------------------------------------------------------------
[2017-08-18 09:01:54] root dot talis at gmail dot com
> Uhm, why do you set stream_context_set_option($context, 'ssl', 'ciphers',
> 'SSLv3')?
>
> It's pretty likely that the other side will not accept any of these, see
> https://www.openssl.org/docs/man1.0.2/apps/ciphers.html for a list
> of ciphers that 'SSLv3' includes.
>
> What happens if you remove that line? Might be that it's just showing the wrong error
> message.
Thank you for your reply!
Nothing changes if I remove that line, I still get the same warning. This code works on PHP 7.1.3
with that line in place.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=75086
--
Edit this bug report at https://bugs.php.net/bug.php?id=75086&edit=1