The vsftpd daemon fails to start when using an SSL certificate with a passphrase protected key
Issue
- Using an SSL certificate with a passphrase protected key prevents
vsftpd
from starting via thesystemctl
command.
# systemctl start vsftpd
-- Unit vsftpd.service has begun starting up.
Jul 24 06:19:36 test.example.com vsftpd[XXXXX]: 500 OOPS: SSL: cannot load RSA certificate
Jul 24 06:19:36 test.example.com systemd[1]: vsftpd.service: control process exited, code=exited status=2
Jul 24 06:19:36 test.example.com systemd[1]: Failed to start Vsftpd ftp daemon.
-- Subject: Unit vsftpd.service has failed
-- Defined-By: systemd
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.