|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19872 ssl:// doesn't appear to work correctly
Submitted: 2002-10-11 16:52 UTC Modified: 2002-11-10 18:19 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: enygma at phpdeveloper dot org Assigned:
Status: No Feedback Package: Sockets related
PHP Version: 4.3.0-pre1 OS: Solaris
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: enygma at phpdeveloper dot org
New email:
PHP Version: OS:


 [2002-10-11 16:52 UTC] enygma at phpdeveloper dot org
using $fp=fsockopen("ssl://".$hostname,$port,$errno,$errstr,100); the connection doesn't seem to work correctly. There's either no connection being made or the response is not being gotten correctly.

Also, according to the docs on, there are additional items in the array returned which aren't there.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-11 19:27 UTC]
We need more information than that...
Please post a short script that reproduces the problem,
and include the output you are getting and also the output you were expecting.
 [2002-10-13 20:41 UTC]
I've improved the SSL error handling, so please
try again with a new snapshot (use the most recent one
dated after this entry).
Also, remember that if you are rolling your own https
support, the default port for SSL is 443.
(You could just use fopen("https://....") in that case).
 [2002-11-10 18:19 UTC]
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 "Open". Thank you.

 [2005-09-12 15:05 UTC] werner at usit dot uio dot no

We experience the same problem on the Solaris-platform, but it seems to work fairly well on our Linux-platform. We use php 4.4.0 on both Linux and Solaris, and I have verified that I could use e.g. the openssl_csr_new-function.

- Werner
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 17:01:28 2024 UTC