LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 11-03-2009, 09:03 PM   #1
L1nuxn00b703
LQ Newbie
 
Registered: Sep 2009
Posts: 16
Thanked: 0
AUTH TLS for FTP


[Log in to get rid of this advertisement]
Hi everyone,

Anyone know a good online tutorial for configuring AUTH TLS on vsftpd?
windows_xp_2003 L1nuxn00b703 is offline     Reply With Quote
Old 11-03-2009, 10:58 PM   #2
ammorais
Member
 
Registered: Nov 2009
Location: Lisbon, Portugal
Distribution: Gentoo, CentOs, Ubuntu
Posts: 95
Thanked: 16
The vsftpd.conf man is actually very good.

You need to enable this options on vsftpd.conf
Code:
#this is very important
ssl_enable=YES

ssl_tlsv1=YES 
ssl_sslv2=NO  #you can enable this if you to allow version 2 of ssl
ssl_sslv3=NO  #you can enable this if you to allow version 3 of ssl
rsa_cert_file=/etc/vsftpd/vsftpd.pem
You will have to generate the certificate:

Code:
cd /etc/vsftpd  # or wherever your vsftpd config directory is
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout vsftpd.pem -out vsftpd.pem
Also if you want clients to be required to connect with tls/ssl add this line

Code:
force_local_logins_ssl=YES
If you want to also encrypt data(as opposed to just the login) add this line.

Code:
force_local_data_ssl=YES
You have to make sure that vsftpd was compiled with ssl support(most distributions enable this by default).
The rest of the options for vsftpd are the same as if there were no ssl.
linuxubuntu ammorais is offline  
Tag This Post , , ,
Reply With Quote

Reply

Bookmarks


Thread Tools

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
eDirectory auth with TLS on Debian apache lykwydchykyn Linux - Enterprise 0 11-27-2008 12:44 AM
Postfix SMTP AUTH (and TLS) HOWTO tommytomato Linux - General 2 05-24-2006 11:00 AM
Postfix With SMTP-AUTH And TLS carlainz Linux - Software 0 05-21-2006 04:13 AM
Debian Exim4 SMTP Auth TLS? shaun_bakker Linux - Software 1 06-30-2005 12:04 PM
Using TLS with cyradm --auth login [GOD]Anck Linux - Software 0 03-08-2005 05:22 AM


All times are GMT -5. The time now is 11:22 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration