[root@localhost ~]# rpm -q openssl
openssl-1.0.1e-48.el6.x86_64
[root@localhost ~]# ldd /usr/sbin/vsftpd | grep libssl
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fd4fb52e000)
[root@localhost ~]# cd /etc/ssl/certs/
[root@localhost certs]# openssl genrsa -out vsftp.key 1024
Generating RSA private key, 1024 bit long modulus
...................++++++
..++++++
e is 65537 (0x10001)
[root@localhost certs]# openssl req -new -key vsftp.key -out vsftp.csr
[root@localhost certs]# openssl x509 -req -days 365 -sha256 -in vsftp.csr -signkey vsftp.key -out vsftp.crt
[root@localhost certs]# service vsftpd restart