ID: 36103
Updated by: [EMAIL PROTECTED]
Reported By: rebe at unit01 dot net
-Status: Open
+Status: Feedback
Bug Type: FTP related
Operating System: linux
PHP Version: 5.1.2
New Comment:
You need to figure out why you get this first: "SSL/TLS handshake
failed". Most likely badly configured system.
Previous Comments:
------------------------------------------------------------------------
[2006-01-20 15:32:30] rebe at unit01 dot net
Description:
------------
Ftp ssl/tls connection fails after login function. I checked on ftp
client program supporting ssl (lftp) and everything works fine there.
Server is linux Proftpd 1.3.0
Reproduce code:
---------------
$conn_id = ftp_ssl_connect('192.168.10.120');
$lr = ftp_login($conn_id,'login','pass');
if ($lr) {
echo ftp_pwd($conn_id)."\n";
} else {
echo "login failed\n";
}
ftp_close($conn_id);
Expected result:
----------------
/
Actual result:
--------------
Warning: ftp_login(): SSL/TLS handshake failed in /test.php on line 8
Warning: ftp_login(): AUTH TLS successful in /test.php on line 8
login failed
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36103&edit=1