bryan wrote:
bryan wrote:
Hi Everyone
I've run vsftpd on a rhel5.4 test server and everything ran OK with
the following setup: -
I've looked at this problem further. On my test server I just ran it
with a self-signed certificate, the real server uses a certificate
that's properly signed. It's this that fails: -
Starting vsftpd for vsftpd: 500 OOPS: SSL: cannot load RSA private key
The steps I took to create the csr are as follows: -
openssl genrsa -out server.key 2048
openssl req -new -key server.key -out server.csr
The certificate got signed and sent back and is in /etc/pki/tls/certs
which vsftpd points to. Anyone care to point out where I've gone wrong?
Hi Everyone
I have this sussed now - steps taken are: -
cat /etc/pki/tls/private/server.key > /etc/pki/tls/private/vsftpd.pem
cat /etc/pki/tls/certs/signedkey.pem >> /etc/pki/tls/private/vsftpd.pem
vsftpd starts up without complaining now.
Stick everyone in a chroot jail with
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
Hopefully that's it - still trying to break it.
Bryan
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list