OpenSSL Generating a Self-Signed Certificate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Generate a Self-Signed Certificate == === Apache with mod_ssl Enabled === # If required follow the Generating a Private SSL Key procedure. # For Apache purposes, use th...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Generate a Self-Signed Certificate == | == Generate a Self-Signed Certificate == | ||
=== Apache with mod_ssl Enabled === | === Apache with mod_ssl Enabled === | ||
# If required follow the [[Generating a Private | # If required follow the [[OpenSSL Generating a Private Key]] procedure. | ||
# | # If required follow the [[OpenSSL Generating a Certificate Signing Request]] procedure. | ||
# | # The private key and CSR files will be used to generate the self-signed certificate. | ||
## <tt>''' | ## <tt>'''openssl x509 -req -days <# number of days> -in <csr_name>.csr -signkey <key_name>.key -out <crt_name>.crt'''</tt> | ||
# Enter the information as required by the prompts. | # Enter the information as required by the prompts. | ||
# Verify the checksum of the key | # Verify the checksum of the key matches the checksum CSR and the self-signed certificate. | ||
## <tt>''' | ## <tt>'''openssl x509 -noout -modulus -in <crt_name>.crt | openssl md5'''</tt> | ||
== Further Reading == | == Further Reading == |
Latest revision as of 18:31, 21 February 2013
Generate a Self-Signed Certificate
Apache with mod_ssl Enabled
- If required follow the OpenSSL Generating a Private Key procedure.
- If required follow the OpenSSL Generating a Certificate Signing Request procedure.
- The private key and CSR files will be used to generate the self-signed certificate.
- openssl x509 -req -days <# number of days> -in <csr_name>.csr -signkey <key_name>.key -out <crt_name>.crt
- Enter the information as required by the prompts.
- Verify the checksum of the key matches the checksum CSR and the self-signed certificate.
- openssl x509 -noout -modulus -in <crt_name>.crt | openssl md5