Apache CSR Creation (using OpenSSL)

How to generate a CSR for Apache using OpenSSL

If you prefer to build your own shell commands to generate your apache csr, just follow instructions below:

  • 1. Login to your server via your terminal client (ssh). At the prompt, type:
    openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr

    Not; server is the name of your server.

  • This begins the process of generating two files: the Private-Key file for the decryption of your SSL Certificate, and a certificate signing request (CSR) file (used to apply for your SSL Certificate) with apache openssl.

    When you are prompted for the Common Name (domain name), enter the fully qualified domain name for the site you are securing. If you are generating an Apache CSR for a Wildcard SSL Certificate your common name should start with an asterisk (such as *.example.com).

    You will then be prompted for your organizational information, beginning with geographic information. There may be default information set already.

    This will then create your openssl .csr file.

  • Open the CSR file with a text editor and copy and paste it (including the BEGIN and END tags) into requested form.

    Not; Save (backup) the generated .key file as it will be required later for Certificate installation. If you somehow loose or delete this .key file, your SSL certificate will not work. Because this .key file and SSL certificate which will be produced will work as a pair.

Customer Services 0850 222 444 6