![LiteSpeed SSL/TLS Certificate Install Video](/_ipx/s_512x288/help/setup-guides/lightspeed-ssl-install-guide/9f6fcbcd32-1727689038/litespeed-ssl-tls-certificate-install-and-configuration.jpg)
LiteSpeed SSL/TLS Certificate Install Video
Step 1. Generating a CSR and Private Key with OpenSSL
Open your preferred terminal client as root.
1: Execute the following command to generate a private key and a CSR -
shell
sudo openssl req -new -newkey rsa:2048 -nodes -keyout /usr/local/lsws/server.key -out /usr/local/lsws/server.csr
This will create a private key and a CSR with the name of server.key and server.csr respectively; in the default Litespeed
installation directory.
You will then get a prompt asking you to input the following details regarding your CSR:-
Country Name (2 letter code) [AU]: Type in the 2 letter abbreviation for your country.
State or Province Name (full name) [Some-State]: Full name of the state
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Locality Name (eg, city) []: Complete name of the city, no abbreviations
Organization Name (eg, company) [Internet Widgits Pty Ltd]: If you are a business; Enter your legal entity name. If you're not a business, any value entered will not be used in your certificate.
Organizational Unit Name (eg, section) []: If you are a business; Write the appropriate division of your company. It is best to use something generic such as "IT".
Common Name (e.g. server FQDN or YOUR name) []: Enter your domain name
Email Address []: Enter your email address
After you hit Enter, your Private Key and CSR should be saved successfully in the default litespeed directory.
2: To view your CSR, type in the following command:
shell
sudo cat /usr/local/lsws/server.csr
You can save the CSR in a .txt file or directly proceed to certificate configuration.
Step 2. Order and Configure the SSL Certificate
The next step in the installation process is to order an SSL Certificate. If you visit our SSL Certificates List page, you will have a number of options available, such as a low-cost domain-validated SSL or a multi-domain SSL.
Cheap SSL Certificates
View our low cost SSL Certificates with domain validation.
Starting at $ per year
If you need help choosing the right SSL Certificate, our sales/support team is here to help. Just reach out to them, and they'll be glad to offer their assistance.
1: Once you've added the SSL Certificate into your cart, you can now click on Checkout to complete the process.
![SSLTrust Checkout](/_ipx/s_960x647/help/setup-guides/lightspeed-ssl-install-guide/04af7f2bbb-1727688683/checkout.png)
Fill in your account details
![SSLTrust Account Details](/_ipx/s_960x324/help/setup-guides/lightspeed-ssl-install-guide/a265271929-1727688683/acccount-details.png)
Choose your preferred mode of payment and click on checkout.
![SSLTrust Complete Order](/_ipx/s_960x530/help/setup-guides/lightspeed-ssl-install-guide/d3ee2818a8-1727688683/complete-order.png)
2: After you have purchased the SSL Certificate, you can start the configuration process.
This can be started by going into your SSLTrust account and managing your recent purchase.
Head over to the SSLTrust Dashboard and under Services, select My Services.
![SSL Dashboard](/_ipx/s_960x469/help/setup-guides/lightspeed-ssl-install-guide/439596da72-1727688684/ssltrust-dashboard.png)
You should be able to see your purchased certificate and order status, now click on Manage
![Manage SSL](/_ipx/s_960x439/help/setup-guides/lightspeed-ssl-install-guide/c2b5069bbe-1727688684/manage-ssl.png)
This will take you to the Product Details of your SSL Certificate. Click on start configuration to do the configuration yourself or you can provide the URL below to the appropriate person to complete the configuration for you.
![Start Configuration](/_ipx/s_960x319/help/setup-guides/lightspeed-ssl-install-guide/5a034f1848-1727688684/start-config.png)
3: Copy and paste the previously generated CSR (Certificate Signing Request) which should include:
text
-----BEGIN CERTIFICATE REQUEST----- -----END CERTIFICATE REQUEST-----
![CSR Details](/_ipx/s_960x386/help/setup-guides/lightspeed-ssl-install-guide/c06ca633a9-1727688684/verify-csr.png)
Then, click on Verify CSR.
If the CSR details match the inputs you've entered before, you can now proceed or else generate a new CSR with proper details.
![CSR Details](/_ipx/s_960x100/help/setup-guides/lightspeed-ssl-install-guide/4098690107-1727688683/csr-details.png)
Select the Server Type and click on Next Step>
![Server Type Step](/_ipx/s_960x195/help/setup-guides/lightspeed-ssl-install-guide/4f6402c6c8-1727688684/server-step.png)
4: Fill in your contact information
![Contact Info](/_ipx/s_862x540/help/setup-guides/lightspeed-ssl-install-guide/df5dd31953-1727688683/contact-info.png)
If you have a technical contact managing the certificate for you, please enter their details.
They will also have permission to manage the Certificate and will be sent renewal reminders.
![Technical Contact](/_ipx/s_960x434/help/setup-guides/lightspeed-ssl-install-guide/674e30817a-1727688684/technical-contact.png)
To obtain a business SSL certificate, you will need to provide your business details, including your correct address, phone number, and legal entity name. The Certificate Authority will verify the accuracy of this information. If there are any mistakes, it may cause delays in the process.
Then, click on Next Step
5: The next step in this process is Domain Control Validation (DCV). Basically, Domain control validation is a process used to verify that the person or organization requesting an SSL/TLS certificate for a domain has the authority to control that domain. There are several different methods that can be used to perform DCV, including email validation, DNS validation, and file-based validation.
![domain control validation](/_ipx/s_960x508/help/setup-guides/lightspeed-ssl-install-guide/f3de4ad01b-1727688684/dcv.png)
Select the method that is easiest for you. Having an email address with the domain name will be the quickest.
You will be sent an email containing a link which when clicked upon should validate your domain name.
In HTTP/HTTPS File Validation Method, you can create a folder in the specified and directory, paste in the contents and your domain should be validated.
![HTTP Method](/_ipx/s_960x423/help/setup-guides/lightspeed-ssl-install-guide/6e80a1caff-1727688684/http-method.png)
The final method to validate your domain name would be CNAME Validation. Basically you have to create a CNAME record in your DNS Settings to validate your domain name and then click on the Check DNS Record button to verify DNS changes.
![CNAME Method](/_ipx/s_960x396/help/setup-guides/lightspeed-ssl-install-guide/933406f150-1727688683/cname.png)
After a few seconds or minutes depending on your DNS propagation speed, the CNAME record should be verified.
![DNS Check](/_ipx/s_960x527/help/setup-guides/lightspeed-ssl-install-guide/d836b22085-1727688684/dnscheck.png)
The configuration should be a success. Click on the button below to access the validation manager.
![Certificate Issue Success](/_ipx/s_960x526/help/setup-guides/lightspeed-ssl-install-guide/0bc314e451-1727688683/cert-issue.png)
6: Your certificate should have now been issued if you completed all the above steps correctly.
![Certificate Issue Success](/_ipx/s_960x526/help/setup-guides/lightspeed-ssl-install-guide/0bc314e451-1727688683/cert-issue.png)
If not, click on Domain Control Validation, and re-submit whatever method you chose for validation.
Upon completing domain validation using the chosen method, your SSL certificate will be issued. If you have ordered a Business SSL, you will need to wait for the Certificate Authority to verify your business address and phone number. If the validation process has not been completed or you have not received your certificate after a certain period of time, please reach out to the support team to check on the status of your certificate.
Step 3. Download your SSL Certificate/s and Upload to Litespeed Webserver
Once your SSL certificate has been issued, you will receive an email with the certificate directly from the Certificate Authority. Alternatively, you can download the certificate from the SSLTrust Portal, which presents the certificate in a convenient, easy-to-use format.
Again, head over to the SSLTrust Dashboard and click on your certificate:-
![dashboard-final](/_ipx/s_960x399/help/setup-guides/lightspeed-ssl-install-guide/2a63e40773-1727688684/dashboard-final.png)
1: Click on Collect/Download Certificate-
![Collect Certificate](/_ipx/s_960x380/help/setup-guides/lightspeed-ssl-install-guide/3e31bb36e1-1727688683/collect-cert.png)
Go to the first column and click on copy to clipboard
![Copy SSL Certificate](/_ipx/s_960x390/help/setup-guides/lightspeed-ssl-install-guide/c6b347cf88-1727688684/copy-ssl.png)
Again, open the terminal and execute the following command.
shell
sudo nano /usr/local/lsws/certificate.crt
Paste in your certificate and once you're done, press CTRL+X to save and exit the buffer.
2: Now, head back to the certificate collection page and click on copy to clipboard on the Intermediate certificate.
![Copy Intermediate SSL Certificate](/_ipx/s_960x303/help/setup-guides/lightspeed-ssl-install-guide/aa0f17831b-1727688684/copy-inter.png)
Now, execute the following command
shell
sudo nano /usr/local/lsws/intermediate.crt
Paste in your intermediate certificate, press CTRL+X to save and exit the buffer.
Step 4. Install the SSL Certificate on Litespeed
Login as Admin to Litespeed and on the Dashboard click on Configuration
![LiteSpeed Homepage Config Button](/_ipx/s_960x512/help/setup-guides/lightspeed-ssl-install-guide/9b81837662-1727688684/lite-home-config.png)
Then, click on Listeners
![LiteSpeed Listeners](/_ipx/s_960x775/help/setup-guides/lightspeed-ssl-install-guide/24b0f2ea47-1727688684/lite-listeners.png)
1: Add a new Listener:
![LiteSpeed Listener Add](/_ipx/s_960x408/help/setup-guides/lightspeed-ssl-install-guide/c1e4df563d-1727688684/listener-add.png)
2: Configure the Listener with the following Settings
![LiteSpeed Listener Config](/_ipx/s_960x756/help/setup-guides/lightspeed-ssl-install-guide/10603421e9-1727688684/listener-config.png)
Listener Name - Enter any friendly name for the listener.
IP Address - Select Any from the dropdown unless you want to bind the Listener to a particular CPU. In that case, enter the unique IP-port combination.
Port - Most HTTPS connections are managed through port 443 by default. However, if you have other Listeners operating on that port, this may cause an issue and require you to use another port such as 8443.
Secure - Select Yes.
Notes - Add any internal notes that will help you distinguish the Listener in the future.
Click Save.
3: Select your listener
![LiteSpeed Listener Select](/_ipx/s_960x468/help/setup-guides/lightspeed-ssl-install-guide/a2b0078a03-1727688684/select-listener.png)
4: Select the SSL Tab
![LiteSpeed Listener SSL Tab](/_ipx/s_960x792/help/setup-guides/lightspeed-ssl-install-guide/720c21c383-1727688684/ssl-tab.png)
5: Configure the filepaths:
![Configure Filepaths](/_ipx/s_960x534/help/setup-guides/lightspeed-ssl-install-guide/7bfb994fcb-1727688684/lite-filepath.png)
Adhere to the instructions below:
Private Key File - This is the path to your private key that was previously saved on your directory during the generation process via OpenSSL.
text
/usr/local/lsws/server.key
Certificate File - This is the path to your server certificate that the CA sent you. You should already have this saved locally or in your server directory.
text
/usr/local/lsws/certificate.crt
CA Certificate Path - This is the path to the intermediate certificate “file” that the CA sent you.
text
/usr/local/lsws/intermediate.crt
6: Return to the SSL Tab and Select Protocol versions
![SSL Protocols](/_ipx/s_960x515/help/setup-guides/lightspeed-ssl-install-guide/aa480973e5-1727688684/ssl-protocols.png)
Check TLSv1.2 and TLSv1.3 and click on Save
7: Map the Virtual Host
Return to the general tab and find Virtual Host Mappings at the bottom and click on Add.
![Virtual Host Mapping](/_ipx/s_960x618/help/setup-guides/lightspeed-ssl-install-guide/a3a597329f-1727688684/vhmapping.png)
Select a VirtualHost from the drop down menu and enter * in the other field for all domains.
![Virtual Host Mapping Final](/_ipx/s_960x564/help/setup-guides/lightspeed-ssl-install-guide/7ee1792565-1727688684/vhfinal.png)
Step 5. Restart the LiteSpeed Webserver
Navigate to your Dashboard by selecting “Dashboard” from the left-hand side menu. Once on your Dashboard, click the green Graceful Restart button.
![Litespeed Restart](/_ipx/s_960x556/help/setup-guides/lightspeed-ssl-install-guide/5f27ef1408-1727688684/litespeed-restart.png)
Your website's connection should now be secure.
![Litespeed Restart](/_ipx/s_960x721/help/setup-guides/lightspeed-ssl-install-guide/e4c217db7e-1727688684/litespeed-secure.png)
Step 6. Test the SSL Certificate
SSLTrust's Free SSL Checker is a tool that allows you to test and validate the SSL/TLS certificates installed on websites. Simply enter a domain name and it will analyze the certificate, providing details like the issuer, expiration date, encryption strength, and whether the certificate is properly configured and trusted by major browsers and operating systems. In SSL tests, receiving an "A" rating typically signifies that the SSL certificate and its configuration meet high security standards.
![SSLTrust Free SSL Checker A Rating](/_ipx/s_960x574/help/setup-guides/lightspeed-ssl-install-guide/bdb27d3c08-1728359694/ssltrust-ssl-checker.png)
The checker highlights any potential security issues or misconfigurations with the SSL implementation. This free tool makes it easy to verify if a website's SSL certificate is valid and secure, giving visitors confidence their connection is encrypted and their data is protected from eavesdroppers.
![SSLTrust Free SSL Checker Detailed Report Example Drop Down](/_ipx/s_960x443/help/setup-guides/lightspeed-ssl-install-guide/c8db0cbfa8-1728359698/ssltrust-sslchecker-report-example.png)
Additionally, you can also performed a detailed check which generates an actionable report with all the ins and out of your SSL Certificate. This includes Protocols, Ciphers, Vulnerabilities and much more.
![SSLTrust Free SSL Checker Detailed Report](/_ipx/s_960x443/help/setup-guides/lightspeed-ssl-install-guide/540f5df16a-1728359704/ssltrust-sslchecker-report.png)
-
You might require assistance from your web developer or make the necessary updates to your website personally to ensure that all files utilize "https://" and all links leading to and within your website employ "https://".
Discussions and Comments
Click here to view and join in on any discussions and comments on this article.