February 6, 2007

bsdftpd-ssl + Redhat ES4 / CentOS 4

Filed under: Server Admin — dh @ 12:10 pm

I needed to use encrypted ftp on a new server that we got. Here’s a quick way to install bsdftpd-ssl on Redhat ES4.

Download .rpm for Fedora Core2 from here.

rpm -e vsftpd
cd /usr/share/ssl/certs/
touch ftpd.pem
chmod 600 ftpd.pem
openssl req -new -x509 -nodes -days 3650 -out ftpd.pem -keyout ftpd.pem
rpm -iv bsdftpd-ssl*

Then to make the server daemon start automatically edit /etc/xinetd.d/bsdftpd-ssl and make disable = no instead of yes.


/sbin/service xinetd restart

All done! Do all of the above as root. You should be good to go.

Leave a Reply