How to generate Certificate Signing Request (CSR) using Apache Mod_SSL/OpenSSL?
A CSR is a file containing your certificate application information, including your Public Key. Generate your CSR and then copy and paste the CSR file into the webform in the enrollment process. Generate keys and certificate: To generate a pair of private key and public Certificate Signing Request (CSR) for a domain, use the following command : openssl req -new -nodes -keyout mydomain.key -out domain.csr This creates a two files. The file mydomain.key contains a private key; do not disclose this file to anyone. Carefully protect the private key. In particular, be sure to backup the private key, as there is no means to recover it should it be lost. The private key is used as input in the command to generate a Certificate Signing Request (CSR). You will now be asked to enter details to be entered into your CSR What you are about to enter is what is called a Distinguished Name or a DN. For some fields there will be a default value, If you enter ‘.’, the field will be left blank. —– Cou