How to generate a CSR for Apache using OpenSSL

             Of course if you prefer to build your own shell commands to generate your apache csr, just follow our old instructions below:

    1. Login to your server via your terminal client (ssh). At the prompt, type:

      openssl CSR generation command

      openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr

      where server is the name of your server.

    2. 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.

    3. Open the CSR file with a text editor and copy and paste it (including the BEGIN and END tags) into the DigiCert Certificate order form.

    4. Save (backup) the generated .key file as it will be required later for Certificate installation.Open CSR file with Notepad or Wordpad, copy all and paste into this tool can test CSR is valid and accurate or not:
      https://cryptoreport.websecurity.symantec.com/checker/views/csrCheck.jsp

    5. Copy the entries of CSR file and send it to VietNamHost , or paste it to the online SSL order screen on VietNamHost website.
      After you receive your SSL Certificate from VietNamHost, you can install it

See Apache SSL Installation Instructions.   

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to generate a CSR in IIS 5.x or 6.x Web Server

1) From the Administrative Tools in the Control Panel, run Internet Information Services....

How to generate a CSR in Microsoft IIS 7 / 7.5

Click Start, then Administrative Tools, then Internet Information Services (IIS) Manager....

How to create a CSR on Windows Server 2012 - IIS 8 and Windows Server 2012 R2 - IIS 8.5

From the Start screen, click or search for Internet Information Services (IIS) Manager and...

SSL Certificate Country Codes

Country Codes are required when creating a Certificate Signing Request. The SSL Certificate...

How to generate a CSR for Microsoft Exchange 2007

To create a Certificate Signing Request (CSR) in Exchange 2007 use the cmdlet...