Here are the final steps in my series on setting up Pure-FTP in Ubuntu.
Again, connect to your server via putty or open a terminal and switch to root.
Then follow these commands below.
echo 1 > /etc/pure-ftpd/conf/TLS
You can set this to 0 for off, 1 for optional, and 2 for required. My goal is to reach 2 but my clients aren't ready for that.
Install OpenSSL package.
apt-get install openssl
The command below creates an encryption key for your ftp. Several questions will be asked
openssl req -x509 -nodes -newkey rsa:1024 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
Here are example choices for a Key.
Country: US
State: Maryland
Locality: Columbia
Organization Name: ftp
Organization Unit: blank
Common Name: ftp
Email Address: blank
Lock the key file from other users.
chmod 600 /etc/ssl/private/pure-ftpd.pem
Reboot your server and now you should be able to connect to your server with encryption on. This is an easy step if everything goes well. Your choice is to decide between 1 and 2 for the TLS option. If you decide to use 2, you must know who your users are so you can guide them through setting up their client. If this is a personal FTP then it is no problem.
Well I hope you are enjoying your FTP server now. Good Luck.
Monday, February 8, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment