OpenSSL Generating a Self-Signed Certificate
Jump to navigation
Jump to search
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 CSR file will be used to generate the self-signed certificate.
- # openssl req -new -key <key_name>.key -out <csr_name>.csr
- Enter the information as required by the prompts.
- Verify the checksum of the key, this will be used to verify the CSR and the self signed certificate.
- # openssl req -noout -modulus -in <csr_name>.csr | openssl md5