

New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384 SSL handshake has read 2535 bytes and written 443 bytes Subject=/CN=*/C=ID/ST=Jawa client certificate CA names sent While proper reply from secure ftp socket should be looks like these : C:\\OpenSSL-Win64\\bin>openssl s_client -starttls ftp -verify 10 -connect 192.168.1.227:21ĭepth=0 CN = *, C = ID, ST = Jawa Barat, L = Bandung, O = nameless, OU = Development, emailAddress = error:num=18:self signed certificateĭepth=0 CN = *, C = ID, ST = Jawa Barat, L = Bandung, O = nameless, OU = Development, emailAddress = return:1

SSL handshake has read 55 bytes and written 317 bytes Connection failed (Connection closed by client)įrom the OpenSSL client : C:\\OpenSSL-Win64\\bin>openssl s_client -starttls ftp -verify 10 -connect 192.168.1.227:21ĥ732:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol.\\ssl\\s23_clnt.c:797: Failed TLSv1.2 negotiation, disconnected SSL error:141A10F4:SSL routines:ossl_statem_client_read_transition:unexpected message Here is the log from the FlashFXP FTP client : From reading the RFC, both parties, client and server should negotiate : Establishing a Protected SessionĬonnect() -> accept()

Why the RB-FTP server doing these?, the RFC for the AUTH TLS/SSL available here. The question is the shared property which defined on FTP.Connection class, doesn’t get updated thorough the whole program session as true after the Do_Verb_AUTH being called, also when IsAuthTLS boolean check being disabled on enableFTPS method, i am getting “Socket error 0: Socket not connected.” from the RB-FTP server log, and hang from flashfxp ftp client.

The project used a ServerSocket which has AddSocket event handler as below Dim client As New FTP.ServerĬlient.NetworkInterface = Me.NetworkInterfaceĪddHandler client.FTPLog, WeakAddressOf LogHandlerĪddHandler client.Connected, WeakAddressOf enableFTPS 'CustomĪddHandler client.UserLogon, WeakAddressOf UserLogonHandlerĮnableFTPS method : Sender.ConnectionType = SSLSocket.TLSv12Ĭertificate=GetFolderItem( "C:\\Users\ameless\\Documents\\server.key" )Īnd Listening button Action event handler : If FTPServer.IsListening ThenĪnd a Do_Verb_AUTH method to handle “AUTH TLS” and “AUTH SSL” If Argument = "TLS" or Argument.Trim = "" Thenĭim port As Integer = Rand.InRange(1024, 65534) Xojo newbie in here, i am having problems adding FTP Explicit Secure/TLS/SSL (AUTH TLS) support into project FTP Server.
