#28754 [Opn->Fbk]: No TLS / SSL support for FTP
| From: | pollita@php.net | Date: | Sat, 12 Jun 2004 14:53:14 +0000 |
| Subject: | #28754 [Opn->Fbk]: No TLS / SSL support for FTP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60821@lists.php.net to get a copy of this message | ||
ID: 28754
Updated by: pollita@php.net
Reported By: toppi at kacke dot de
-Status: Open
+Status: Feedback
Bug Type: Sockets related
Operating System: linux/unix
PHP Version: 4.3.4
New Comment:
What sftp server daemon are you using?
Previous Comments:
------------------------------------------------------------------------
[2004-06-12 14:49:38] toppi at kacke dot de
Description:
------------
TLS/SSL Protocols/Wrappers doesnt work when using
fsockopen()
Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error
messages: error:1408F10B:SSL routines:func(143):reason(267) in
/sb3/ftp.inc on line 58
Warning: fsockopen(): php_stream_sock_ssl_activate_with_method: SSL
handshake/connection failed in /sb3/ftp.inc on line 58
Warning: fsockopen(): failed to activate SSL mode 2 in /sb3/ftp.inc on
line 58
also FOPEN() doesnt do that
ftp_ssl_connect is working fine but useless cause no valid stream for
fget() etc....
there sould be a way to connect ssl/tls FTP wihout using php's ftp.lib
Reproduce code:
---------------
just try
$this->_sock = fsockopen("tls://".$server, $port, $errno, $errstr,
$this->timeout);
Expected result:
----------------
-Connect to FTP (plain)
-enable wrapper
-get a pointer back
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28754&edit=1