OpenSSL Generating a Private Key

From UNIX Systems Administration
Revision as of 17:37, 12 February 2013 by Michael Kohler (talk | contribs) (Created page with "== Generate the Private Key File == === Apache with mod_ssl Enabled === # Generate the private key using openssl. ## <tt>'''# openssl genrsa -des3 -out <name>.key 1024'''</tt>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Generate the Private Key File

Apache with mod_ssl Enabled

  1. Generate the private key using openssl.
    1. # openssl genrsa -des3 -out <name>.key 1024
  2. Verify the checksum of the key, this will be used to verify the CSR and the self signed certificate.
    1. # openssl rsa -noout -modulus -in <privatekey.key> | openssl md5

Further Reading

  1. How to Generate SSL key, CSR, and Self Signed Certificate for Apache