In this step-by-step tutorial, we will show you how to generate a CSR on Sentora.
Just follow the steps below:
Step 1. Log in to a terminal as the root user
Run the following command:
sudo –i
Step 2. Install the OpenSSL utility
If you don’t have the OpenSSL utility, install it via the following command:
apt-get install openssl
Step 3. Create a directory for your certificates
Run the following command:
mkdir /etc/apache2/ssl/
Step 4. Generate your CSR code and private key
Run the following command:
openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
Note: Don’t forget to replace yourdomain with your real domain name. For example, if your domain name is yoursite.com, you must type yoursite.key and yoursite.csr.
Step 5. Fill in your information
You’ll be prompted to provide your contact details. Please use the examples below:
- Country Name (2 letter code): enter the official two-letter code of your country. For instance, US
- State or Province Name: write the full name of the state where your company is registered. For example, Washington
- Locality Name: write the full name of the city where your company is located. For instance, Seattle
- Organization Name: specify the full legal name of your organization. For example, Your Company LLC
- Organizational Unit Name: enter the department in charge of your SSL Certificate. For example, Web Administration
- Common Name: provide the FQDN (fully-qualified domain name) you want to secure. For example, yourdomain.com
The OpenSSL utility will generate your CSR and private key files.
Step 6. Locate your CSR and private key files
To locate them in your working directory, run the command:
ls
Open the CSR file with any text editor of your choice such as Notepad, and copy its contents including the —–BEGIN CERTIFICATE—– and —–END CERTIFICATE—– tags into the corresponding box during the SSL order process.
Wait for the SSL Certificate to arrive in your inbox.
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