The vsftpd daemon fails to start when using an SSL certificate with a passphrase protected key

Solution Verified - Updated -

Issue

  • Using an SSL certificate with a passphrase protected key prevents vsftpd from starting via the systemctl 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content