Bug #70735 [Fbk->NoF]: no transport is specified, https:// fsockopen() does not impact the formattin

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=70735&edit=1

 ID:               70735
 Updated by:       [email protected]
 Reported by:      admin at angosso dot net
 Summary:           no transport is specified, https://  fsockopen() does
                   not impact the formattin
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          OpenSSL related
 Operating System:  Unix-like
 PHP Version:      5.6.14
 Private report:   N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2017-03-17 02:07:32] [email protected]

This bug report is unintelligible.
Please rephrase what problem you're encountering and provide a working test script (your current script has undefined variables and misspelled function names).

------------------------------------------------------------------------
[2015-10-18 22:19:17] admin at angosso dot net

Description:
------------
fsockopen() does not support SSL/TLS with shared OpenSSL extension in domain
ssl:// will attempt to negotiate an SSL V2, or SSL V3 connection depending on the capabilities and preferences of the remote host. sslv2:// and sslv3:// will select the SSL V2 or SSL V3 protocol explicitly. The problem the found is caused by the difference between the client/server encryption methods used

Test script:
---------------
<?php $fp = fsockopen("tls://webmail.example.com", 587, $errno, $errstr); 
stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_SSLv23_CLIENT); ?>
creating SSL streams (using https://):
<?php
$context = context_create_stream($context_options)
$fp = fopen('https://url', 'r', false, $context);
?>
  

Expected result:
----------------
A successful SSL/TLS connection.
SSL/TLS client connection over TCP/IP to connect to the remote host

Actual result:
--------------
Warning: fsockopen():
Failed to detect socket transport


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=70735&edit=1
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.