How can I generate a key for Apache HTTP Secure Server Configuration in Red Hat Enterprise Linux 5?

Updated -

Release found: Red Hat Enterprise Linux 5

Solution

To generate a key for Apache HTTP Secure Server Configuration, follow the steps below:

    1.  As the root user, remove the fake keys and certificates:

 # rm /etc/pki/tls/private/localhost.key
 # rm /etc/pki/tls/certs/localhost.crt

     2.  Create a random key

...

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