How do I configure Apache httpd to read the private key passphrase from a file?

Solution Verified - Updated -

Issue

  • When I (re-)start httpd with SSL, the private key requires a passphrase and the service holds and waits for the user to input the passphrase. I don't want to remove the passphrase of the private key, how can I automate this?
  • Is it possible to configure Apache to read the private key passphrase from a file?

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Apache httpd

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