Categories: Internet

How to Generate CSR using cPanel

CSR is an encoded file that provides you the way to send your public key to the SSL certificate provider along with some information that identifies your details including domain name and company. To order an SSL certificate from any registrar, you should first generate a CSR from your hosting account and provide it when asked in the process. The certificate provider servers will ask the details such as common name/domain name, organization name, location, key type, and key size. At the time of the CSR generation, you will include all these details in the connection which helps the certificate provider to verify your identity.

So, if you decided to buy an SSL certificate for your website and migrate from HTTP to HTTPS, it is the time to generate CSR from your hosting account. For this, just follow these steps.

Steps to Generate CSR using cPanel

These steps are only applicable if you have a cPanel dashboard with your hosting account. Luckily, most of the popular web hosting companies including Siteground, Bluehost, GoDaddy, etc. included this future in almost of their plans to make it extremely easy to install SSL certificates. Follow the below-given steps to generate CSR using cPanel.

Phase 1: Generating Private Key

  1. Log in to cPanel account.
  2. Click on SSL/TLS Manager option located in Security section (If you can’t find it, just search in the search box.)
  3. Click on the Generate, view, upload, or delete your private keys option under the Private Keys (KEY) section.
  4. You will be brought to the next screen where you can see a section saying Generate a New Private Key. Select or fill the options such as Key Size value (It is recommended to choose at least 2048 bits key size).
  5. After filling the details, click on Generate.
  6. You will be given the generated Private Key in encoded and decoded formats.
  7. The private key will be automatically saved on your account. Click on the Return to SSL Manager button.

Phase 2: Generating Certificate Signing Request

  1. You are currently at the SSL/TLS Manager screen right?
  2. Click on Generate, view, or delete SSL certificate signing requests option placed under the Certificate Signing Requests (CSR) option.
  3. You will see an option saying Generate a New Certificate Signing Request (CSR) in the next page. Here, you have to select the Private Key, which was generated in the phase 1. Use the dropdown list under the Key section to select the Private Key. Selecting the ‘Generate a New 2048 bit key’ option will result in a creation of an entirely new Private Key.
  4. Fill the information required for the CSR code that will be submitted to a Certificate Authority. You have to enter the details such as Domain, City, State, Country, Company, and E-mail. Be sure to provide the correct information and enter it only in alphanumeric characters.
  5. Click on the Generate button at the bottom.
  6. That’s it, you’ve successfully generated the CSR code which you can use while purchasing the SSL.
  7. Click on the Return to SSL Manager button.
Be sure to include —–BEGIN CERTIFICATE REQUEST—– and —–END CERTIFICATE REQUEST—– lines when submitting the CSR code for the SSL activation from the provider.

The CSR is ready. Now you have to install it on your website, right? Follow the steps in our guide on installing an SSL certificate.

Things to remember while generating the Certificate Signing Request (CSR)

There are few things you should be aware during the CSR creation process. We are listing few important points below. Have a look at them.

  • Never use the symbols or special characters such as “.,;-@#$%^&!*)(-+=<>?/: in any important fields like your company info or address. Be sure to use the letters, numbers, and allowed characters only.
  • Some certificate registrars may not support bit key length size of more than 2048. But it is very rare to have a registrar with such problems. But it is recommended to go with the 2048.
  • Few certificate registrars have strict rules in the format of the file. In most of the cases, the standard supported format is the plain text ASCII Base64 (pem) encoded format.

If you got any errors during the process which is related to the CSR, you should confirm you followed these guidelines. If you found there is a deviation, you may need to regenerate the CSR from your hosting provider panel. Then continue from where you left off.

Problems you may face during CSR generation process

The CSR generation process is very simple and can be completed by almost anyone. Even though, there are also few chances of occurring problems during the process. So, we shared some of the most found problems during the CSR generation process.

Muhammed Swalih

A simple guy who loves Blogging, SEO, Graphic Designing, etc. By the way, he likes to read a lot and acquire knowledge from various sources online.

Published by
Tags: SSL

Recent Posts

  • Best

10 Best WordPress Alternatives

Creating a website for your brand, band, company, or a portfolio for yourself has never been easier. In the past,…

3 weeks ago
  • Best

10 Best Software for Animation

When it comes to the content creation, making your own animation for a particular model might be one of the…

7 months ago
  • Best

10 Best Software for Editing Photos

Are you interested in photography, or have seen a photo that's just plain amazing? Do you wonder how they do…

11 months ago
  • Best

10 Best Screen Recorder Software for Windows

Wouldn't it be great if we could somehow record our screen or gameplay and keep it for ourselves? Well sure.…

11 months ago
  • Best

10 Best Software for Video Editing

Video editing is a relatively complex process in which the editor uses various software to insert numerous effects and edit…

1 year ago
  • Software Reviews

MacKeeper Releases Camera and Microphone Protection

Mac OS is a Unix-based operating system, and as such, it's less vulnerable to malware and viruses. But, what if…

1 year ago