Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2011 15:57:14 -0300
From:      Ronan Lucio <ronanlucio@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   vsftpd + ssl
Message-ID:  <CAF-5T9EB53senPSWTx8g7kRtpJ_jdC6zT3=N9Q89qaqzYDj7dA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 <password>"
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF-5T9EB53senPSWTx8g7kRtpJ_jdC6zT3=N9Q89qaqzYDj7dA>