Hello World, in this time i will share my experience How to Install Proftpd + Openssl On Debian Squeeze, this is make our FTP Server more Secure and Reliable. just Following this step.
1. update your Repository with following command apt-get update or aptitude update
2. apt-get install proftpd openssl , choose mode standalone
3. create directory for ssl, mkdir /etc/proftpd/ssl
4. Then type openssl req -new -x509 -days 365 -nodes -out /etc/proftpd/ssl/proftpd.cert.pem -keyout /etc/proftpd/ssl/proftpd.key.pem
5. and fill with your own settings Like ,
ID
East Java
Malang
BluePhantom
BluePhantom
bluephantom.tk
6. and then edit /etc/proftpd/proftpd.conf and uncomment include /etc/proftpd/tls.conf
8. and don`t forget to insert this text in proftpd.conf
ServerIdent on “FTP Server Ready.”
DefaultRoot ~
7. next we create backup for tls.conf using this comment
cp /etc/proftpd/tls.conf /etc/proftpd/tls.conf_orig
8. cat /dev/null > /etc/proftpd/tls.conf
9. edit /etc/proftpd/tls.conf and fill like this
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol SSLv23
TLSOptions NoCertRequest
TLSRSACertificateFile /etc/proftpd/ssl/proftpd.cert.pem
TLSRSACertificateKeyFile /etc/proftpd/ssl/proftpd.key.pem
TLSVerifyClient off
TLSRequired off
</IfModule>
10. next create folder for FTP
mkdir /home/folderftp
11. and then create user for this folder useradd sapi –d /home/folderftp and create password for that user passwd sapi
12. next change the folder ownership with this command chown sapi:sapi /home/folderftp
13. Finally restart our FTP server
/etc/init.d/proftpd restart
Finish and our FTP Server is Secure and ready to use :d

