Apache: Generate CSR (Certificate Signing Request)


Follow these instructions to generate a certificate signing request (CSR) for your Apache Web server. When you have completed generating your CSR, cut/copy and paste it into the CSR field on the SSL certificate-request page.

To Generate a Certificate Signing Request for Apache 2.x

  1. Log in to your server's terminal (SSH).
  2. At the prompt, type the following command:
    openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr

    Note: Replace yourdomain with the domain name you're securing. For example, if your domain name is coolexample.com, you would type coolexample.key and coolexample.csr.

  3. Enter the requested information:
  4. Open the CSR in a text editor and copy all of the text.
  5. Paste the full CSR into the SSL enrollment form in your account.


Article ID: 1398
Created On: Wed, Dec 2, 2020 at 6:13 PM
Last Updated On: Wed, Dec 2, 2020 at 6:13 PM

Online URL: https://www.heartinternet.uk/support/article/apache-generate-csr-certificate-signing-request.html