LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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

Reply
 
Search this Thread
Old 11-03-2009, 08:03 PM   #1
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 106

Rep: Reputation: 15
AUTH TLS for FTP


Hi everyone,

Anyone know a good online tutorial for configuring AUTH TLS on vsftpd?
 
Old 11-03-2009, 09:58 PM   #2
ammorais
Member
 
Registered: Nov 2009
Location: Lisbon, Portugal
Distribution: Gentoo, CentOs, Ubuntu, Debian
Posts: 182

Rep: Reputation: 49
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.
 
  


Reply

Tags
openssl, ssl, tls, vsftpd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 08:32 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration