LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-25-2012, 07:28 PM   #1
dgrames
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 152

Rep: Reputation: 50
Enabling ssl in vsftpd on Slackware 13.37


I am having problems enabling ssl in vsftpd
For a non ssl connection I can connect ok, but when I enable
ssl the vsftpd log shows the initial connection but my ftp client
says the connection fails. I am using FileZilla which should be ok.
I was hoping someone has some experience with this in Slackware.

FileZilla was built with the SBO build script.

I have port 20, 21, 989, 990 open in the firewall

This is my vsftpd configuration.

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
pasv_max_port=63000
pasv_min_port=62500
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
idle_session_timeout=600
data_connection_timeout=120
nopriv_user=ftp
chroot_local_user=YES
ls_recurse_enable=YES
listen=NO

ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
rsa_private_key_file=/etc/ssl/certs/vsftpd.key
ca_certs_file=/etc/ssl/certs/vsftpd-ca.pem
ssl_ciphers=HIGH

Thanks in advance.

Don
 
Old 06-26-2012, 08:18 AM   #2
dgrames
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 152

Original Poster
Rep: Reputation: 50
Hi all,

found my own answer thanks to the proftpd website

added these lines to the end of my vsftpd.conf file

pasv_promiscuous=YES
pasv_enable=yes
ssl_request_cert=NO
require_ssl_reuse=NO

and it all works now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting vsftpd for vsftpd: 500 OOPS: SSL: cannot load RSA certificate MisterTickle Linux - Server 2 02-11-2011 07:41 PM
vsftpd SSL problem (522 SSL connection failed) stringZ Linux - Server 8 05-05-2009 02:27 PM
vsFTPd - SSL connection and dynamic SSL ports toxoplasme Linux - Server 11 08-22-2008 10:50 PM
vsftpd & ssl - how do I tell if it's actually vsftpd maintaining the connections?? hunterhunter Linux - General 0 03-27-2006 04:41 PM
enabling ssl in apache for imp linuxnube Linux - Software 1 12-29-2003 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration