[CentOS] vsftp 500 OOPS: SSL: cannot load RSA key

Thu Apr 28 23:51:19 UTC 2005
Alexander Dalloz <ad+lists at uni-x.org>

Am Do, den 28.04.2005 schrieb James B. Byrne um 22:36:

> vsftpd-2.0.1-5
> 
> I am trying to get vsftpd to start with ssl_enabled=yes and not 
> having much success.  The config file works when ssl_enabled=No and 
> does not work when ssl_enabled=Yes. I have tried setting the 
> following:
> 
> rsa_cert_file=/usr/share/ssl/certs/inet06cert.pem
> 
> which is the public certificate and this:
> 
> rsa_cert_file=/usr/share/ssl/private/inet06key.pem
> 
> which is the server private key.  Both these are in use by the 
> apache web server as :

> Jim

Both certificate files must be 1 file.

cat /usr/share/ssl/certs/inet06cert.pem
/usr/share/ssl/private/inet06key.pem > /usr/share/ssl/certs/vsftpd.pem

In vsftpd.conf:

rsa_cert_file=/usr/share/ssl/certs/vsftpd.conf

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp 
Serendipity 01:48:33 up 16 days, 22:28, load average: 0.46, 0.30, 0.23 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.centos.org/pipermail/centos/attachments/20050429/5884b4a2/attachment-0005.sig>