How To Install an SSL Certificate on Kloxo (2048 bit)

How To Install an SSL Certificate on Kloxo (2048 bit)

This tutorial will show you how to setup a 2048-Bit SSL certificate in Kloxo (LxAdmin).

Kloxo Currently does not support creating 2048-bit CSR’s via the Planel. So we will need shell into the system to create the CSR.

1. Generate your Key

I recommend downloading “putty” to use to SSH into your server ( ) Just get the PuTTY for windows. Once you login as the root user you need to create a key. By default you are in the /root folder and you can create the key right there.

Next run this command to create the key.

openssl genrsa -out 2048

Next you want to copy the key and keep it saved for later when importing the the purchased SSL. Run this to display it and you can Highlight the output and then past it in notepad and save it for later use. (You maybe need to make your putty windows larger to see it.


Here is an example:

This is an example. This is an example. This is an example. This is an example. 
This is an example. This is an example. This is an example. This is an example. 
This is an example. This is an example. This is an example. This is an example. 

Several notes about this:
– This key will not be password protected. In our experience, password protected keys are a major pain in the neck to work with because they require you to enter in a password every time you start or restart apache. In additional security isn’t very necessary on a VPS when you are the only one with root access to your machine.
– The naming of the key can be important if you plan on having several secure domains on your VPS. It helps avoid confusion. For this demonstration, we’ll be using the domain “” but it could really be anything you’d like it to be.
– Last, we will be generating a 2048-bit encryption key here, but you could theoretically create one with stronger (or weaker) encryption if you’d like to. 2048-bit keys are standard.

2. Generate your CSR

Now that we’ve generated our Key, we need to generate what’s called a “Certificate Signing Request” or CSR. This request is the part that SSL companies (like Geotrust) need in order to provide you with a signed certificate. To generate a CSR, run the following command:

openssl req -new -key -out

You will then be asked a series of questions (example below). Go ahead and modify the answers to suite yourself:

You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
Country Name (2 letter code) [GB]:TN
State or Province Name (full name) [Berkshire]:Tunis
Locality Name (eg, city) [Newbury]:Tunis
Organization Name (eg, company) [My Company Ltd]:Experts Hosting
Organizational Unit Name (eg, section) []
Common Name (eg, your name or your server's hostname) []
Email Address []:[email protected]

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

Note that the “Challange Password” and “optional company name” fields were left blank.

After that, you should have a nice little .csr file. To view your CSR file, run the following command:


It will return what looks like a bunch of junk… but it’s actually encrypted code:


This is the code that you need to copy and paste into the special instructions field when you order your SSL certificate from the SSL company.

When you order your SSL certificate. A verification message will need to be sent to “[email protected]” (the domain that is to be secured) in order to make sure we are ordering this SSL certificate at your request. You will need to verify the order as per the verification email instructions, then we will deliver the .cer file (your actual SSL certificate) to the email address that you ordered the certificate from our site with. You can also use this CSR for ordering from other places as well.

Log into Kloxo and click on teh SSL Certificate link.

Now click on the Add Upload Txt tab. Put in the name of what you want to call the Paid Certificate. Example Next in the Certificate Section Paste in the Certificate you got from the SSL company. Next in the Key Section Paste in the Key we copied earlier to notepad. Next for the CACert section if you have the CACert go ahead and put that in. However I believe most name brand SSL’s will have this info in the browsers and I don’t think you have to have it. However if you have the info by all means put it in there. Or if your having problems with your browser seeing the issuing company get the info and put it in. I just worked on a comodo ssl which worked ok for IE 7 but did not work in Firefox 3 with out have the CA Certificate.

Go ahead and click add

We are not back to the list of the SSL’s on the server. Click on the SSL we just added. In my case Next in the oval box that states

To assign this ssl certificate to a particular ipaddress, click here and then go into an ipaddress, and click on ssl certificate tab, and you can set one of these certificates to a particular ipaddress. The admin will need to have assigned you an exclusive ipaddress for you to access this feature.

click on the click here link.

Next click on the IP address we are using for the site that will have the SSL. Then click on Ssl Configuration Home tab. Select the SSL we are wanting to use. Then click update.

I have found that at times Apache still needs a restart to get things working right away. If you go back to Home and then down to the Server : Linux section and click on Services Then on the line that has the Name of httpd click on the last bubble on that line. It is the restart bubble. If you mouse over the bubble it will pop up with what it does.
Or, you can login to ssh, and type this commande :

/etc/init.d/httpd restart

You may also need to assign the domain to the ip address. If you have trouble with assigning the SSL try clicking on the configure domain tab under the ip address and assign that IP to the domain. Then restart apache and check the site for the correct SSL certificate.

Now go to your site Example and you should be good to go.

Here is a small glance on how SSL works :
Experts Hostin | SSL certificates


2 Comments Added

Add your message
  1. Steve 03/05/2014 | Reply

    Thanks a lot for this tutorial. Works like a charm 🙂

  2. Parag 05/28/2015 | Reply

    how to remove all this certificate ( i have created for test purpose ) from terminal ?

Leave a Reply

Contact us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Questions, issues or concerns? I'd love to help you!

Click ENTER to chat