Hi,

We're having problems connecting to an FTP server using FTPS (not sftp), and to 
diagnose the problem, we've been using cURL with openssl.  The server is IBM 
Z/OS FTP server. 

When we test with cURL, we are getting:

Info SSLV3, TLS handshake, Client hello (1) Send SSL Data, 95 bytes (0x5f) 
=====hex data=======
Info: SSLV?, Unknown (2)
Send SSL data, 2 bytes
0000: 02 46
Info: error: 1408F10B: SSL routine:SSL3_GET_RECORD:wrong version number

>From various searches, I've gathered that this kind of problem is not uncommon 
>(but I've not found a solution), but I'm also gathering that what is happening 
>is that openssl is returing some error to cURL.

So, I've been trying to see if I use "openssl s_client" by itself, and if 
openssl might provide more info on what he actual problem might be.

>From what I understand, "openssl s_client -starttls ftp" should work, but when 
>we tried it on our system (RHEL) we got a segfault.  We checked the openssl 
>version, and it's 0.9.7a, which I understand is a really old version, so we're 
>going to try to get a newer openssl version on the system. 

In the meantime, I wanted to elicit some feedback as to whether, in the 
experience of others here, if we can get "openssl s_client -starttls ftp" 
working, will that yield more info that might help us figure out what the 
problem might be?

Thanks in advance!

Jim
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to