How to Generate a CSR on LiteSpeed

In this step-by-step tutorial, we will show you how to generate a CSR on LiteSpeed.

We’ll use the OpenSSL utility. If you’ve never used it before, and aren’t comfortable entering command prompts, use the quick and easy CSR Generator tool instead.

Along with your CSR code, you will also generate your private key. These two files from the certificate key pair and cannot be separated.

Step 1: Generate your private key

Run the following command:

Openssl genrsa –out server.key 2048

Note: The word “server” is the name of your private key. You can give it any name you want, but make sure you keep the .key extension.

Step 2. Generate your CSR code

Run the following command:

Openssl req –new –key server.key –out server.csr

Note: If you’ve used another name for your private key instead of “server” include it in the command. As for server.csr part, you can rename it, but make sure you keep the .csr extension.

Step 3. Fill in your information

Next, the command will ask you to provide the following contact details:

  • Common Name (CN): enter the FQDN (fully-qualified domain name) you want to protect. For instance, If you have a wildcard certificate, add an asterisk (*) in front of your domain name (e.g., *
  • Organization Name (O): specify the full legal name of your company. For example, Your Company LLC
  • Organizational Unit (OU): name the department within your company requesting the SSL Certificate. For example, IT
  • Locality or City (L): write the full name of the city where your company is registered. For example, Albuquerque
  • State or Province (ST): type the full name of the state or province where your company is legally located. For instance, New Mexico
  • Country (C): provide the two-letter code of your country. For example, US. Here you can find the full list of country codes.

That’s it! You’ve successfully generated your CSR code. It resides in the directory where you run the command.

Locate and open the .csr file with any text editor of your choice such as Notepad. You will need to copy its content including the BEGIN and END tags and paste it during the SSL order with your SSL vendor.

Save 10% on SSL Certificates when ordering today!

Fast issuance, strong encryption, 99.99% browser trust, dedicated support, and 25-day money-back guarantee. Coupon code: SAVE10

Written by

Experienced content writer specializing in SSL Certificates. Transforming intricate cybersecurity topics into clear, engaging content. Contribute to improving digital security through impactful narratives.