php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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 http://www.php.net/manual/en/function.stream-get-meta-data.php, there are additional items in the array returned which aren't there.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-11 19:27 UTC] wez@php.net
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] wez@php.net
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] sniper@php.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 "Open". Thank you.


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

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: Sat Dec 21 16:01:28 2024 UTC