From owner-freebsd-questions@FreeBSD.ORG Wed Aug 17 19:25:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CA38106566B for ; Wed, 17 Aug 2011 19:25:44 +0000 (UTC) (envelope-from ronanlucio@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id DD0F28FC16 for ; Wed, 17 Aug 2011 19:25:43 +0000 (UTC) Received: by ewy1 with SMTP id 1so724141ewy.13 for ; Wed, 17 Aug 2011 12:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=c/K9Ioa4As6DGyVvgaHGTmbsJmEwk6VS04w5l0B+mS4=; b=TD9wLImEmmILvOYMZ7mLz+OoEjSPW2/N3O3H6I2a7B97SL7fzK6g9ZJG3psbP7c65g oziFoexYlgNhbwryu3nK7nIxIeWsAvu9Hc9NJpynb8NpG1WCoY5AMgHm2sUVtW1YfIm9 BDUEXy1nP0RjnsDWk+hVyUYBor+pSgAXfpsRg= MIME-Version: 1.0 Received: by 10.213.26.219 with SMTP id f27mr1419216ebc.76.1313607434807; Wed, 17 Aug 2011 11:57:14 -0700 (PDT) Received: by 10.213.16.136 with HTTP; Wed, 17 Aug 2011 11:57:14 -0700 (PDT) Date: Wed, 17 Aug 2011 15:57:14 -0300 Message-ID: From: Ronan Lucio To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: vsftpd + ssl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 19:25:44 -0000 Hi, I'm not getting make it to work. I installed vsftpd via ports and checked RC_NG and VSFTPD_SSL and added the configs: ----------------------------- #SSL ssl_enable=YES rsa_cert_file=/etc/ssl/vsftpd.pem rsa_private_key_file=/etc/ssl/vsftpd.key force_local_data_ssl=YES force_local_logins_ssl=YES require_ssl_reuse=NO ssl_tlsv1=YES ssl_sslv2=YES ssl_sslv3=YES ----------------------------- When I try to login I get: ----------------------------- 234 Proceed with negotiation. [SSL Cipher DES-CBC3-SHA] 331 Please specify the password. Password: ssl_getc: SSL_read failed -1 = 0 421 Service not available, remote server has closed connection Login failed. No control connection for command: Success ftp> ----------------------------- My log files: ----------------------------- # tail vsftpd.log Wed Aug 17 12:42:20 2011 [pid 63102] [rnt] OK LOGIN: Client "201.49.104.47" Wed Aug 17 15:53:28 2011 [pid 63453] CONNECT: Client "201.49.104.47" Wed Aug 17 15:53:28 2011 [pid 63453] FTP response: Client "201.49.104.47", "220 FTP Server" Wed Aug 17 15:53:31 2011 [pid 63453] FTP command: Client "201.49.104.47", "AUTH SSL" Wed Aug 17 15:53:31 2011 [pid 63453] FTP response: Client "201.49.104.47", "234 Proceed with negotiation." Wed Aug 17 15:53:31 2011 [pid 63453] DEBUG: Client "201.49.104.47", "SSL version: TLSv1/SSLv3, SSL cipher: DES-CBC3-SHA, not reused, no cert" Wed Aug 17 15:53:31 2011 [pid 63453] FTP command: Client "201.49.104.47", "USER test_user" Wed Aug 17 15:53:31 2011 [pid 63453] [rnt] FTP response: Client "201.49.104.47", "331 Please specify the password." Wed Aug 17 15:53:39 2011 [pid 63453] [rnt] FTP command: Client "201.49.104.47", "PASS " Wed Aug 17 15:53:39 2011 [pid 63452] [rnt] OK LOGIN: Client "201.49.104.47" ----------------------------- FreeBSD-8.2 vsftpd-ssl-2.3.4 Do you have any clue? Thanks, Ronan