OpenLiteSpeed Server setup for TrustCor SSL


This article will detail the steps for obtaining an SSL on an OpenLiteSpeed server using TrustCor Premium DV Certificates.

1. Purchase a TrustCor Premium DV Certificate from No-IP.

To learn more about this process, please review our article:
How to Purchase and Configure a TrustCor Premium DV SSL

2. Generate the private key and CSR from the OpenLiteSpeed server by running this command:

(in this example, we use “litespeed1-trustcor” as the name for the key and csr but you can name your own.)

sudo openssl req -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/litespeed1-trustcor.key -out /etc/ssl/certs/litespeed1-trustcor.csr

3. This will prompt you to fill out the standard info for a CSR, such as country, state, FQDN, etc.
Do not set a challenge password.

869fbadb-c611-4620-8f56-88f39ee830ce

4. View the CSR by running this command:

(you would replace litespeed1-trustcor.csr with the name you provided in step 2)

cat /etc/ssl/certs/litespeed1-trustcor.csr

5140c8b0-95e3-419f-8d69-d305ab4d5407

5. Add your CSR to No-IP

Copy the CSR, including everything from

-----BEGIN CERTIFICATE-----

to

-----END CERTIFICATE-----

From your No-IP account, Click My Services at the left, then SSL Certificates.
Locate your available certificate and select Add CSR.

01ffb533-0ff9-49e3-a75f-013968857e2f

Here, you will choose your server type from the drop down menu, paste the CSR we just copied, then click the green Add CSR button to continue.

bc370c5f-f7cc-438b-8191-351bafc2e185

6. You will now see the section called “SSL Contact Information“.

Fill in the information required. The City, State and Country will be auto-filled from the information generated in the CSR you created. Click the green Confirm button when finished.

39256344-6b0c-4030-ad02-793d85e22ee4

 

7. Finally, you will see the section called “DNS Verification Record”.

If your domain is registered with us and you have Plus Managed DNS, we will add the DNS Verification TXT record automatically.

If you are an Enhanced user with us, you will need to copy and paste the DNS Verification TXT record to your DNS Records manually.

If your domain is not registered with No-IP, you will need to copy and paste the DNS Verification TXT record to your DNS Records manually at your current DNS provider.

Click the Continue button once you have review and/or copied this information.

1b05f5ff-74c2-4d98-8a7c-5f562b0323a6

8. Wait for Verification. Once your TXT record is created, the SSL should be issued within 30 minutes or less.

If you have not received it within 30 minutes please contact No-IP Support. Until then, the Status will remain in Pending Verification.

236c90a3-fe67-4c89-8d1e-3f71be6b6372

After 30 minutes, TrustCor will verify the TXT record and the Status will change to Active.

82ea97d7-2ea7-4269-83ec-8362473bad0b

9. Download the signed-cert from the No-IP SSL Manager.

You may need the PEM, PEM-CHAIN or other file types, depending on your servers requirements.
From your No-IP account, click My Services at the left, then SSL Certificates.
Find your TrustCor Premium DV and click the Download button.

bcc296ec-5b2c-492e-9b18-2b243bc2e957

Here, use the dropdown menu to select the file type and click the Download button to obtain the file.

0d9df601-bcf8-4453-b6f8-0dd44bcee015

You may need to make server configurations, ie, set up the SSL Certificate at the Listener level and set up the SSL Certificate at the Virtual Host level.

While we do not support this level of server configuration, you can find many useful guides on the internet, such as this official OpenLiteSpeed one:
https://openlitespeed.org/kb/ssl-setup/

As with any changes to OpenLiteSpeed, you may need to restart the server for these changes to take effect.

More Information

You can find more information about installing TrustCor SSLs and obtaining TrustCor’s Intermediate Certificates from their Knowledge Base here.