In this step-by-step tutorial, we will show you how to generate a CSR on lighttpd.
Recommended: Use our CSR Generator tool to create your CSR code. It’s quick and doesn’t require any technical knowledge. All you have to do is just fill in the form details, and click Generate CSR.
Alternatively, you can generate the CSR with OpenSSL commands directly on your server. You’ll need to login to your server via your terminal client (ssh). Follow the steps below:
At the prompt, type:
openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
Where yourdomain is the name of the domain you want to secure
You’ll be prompted to enter 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: enter the full name of the state where your company is registered. For example, Tennessee.
- Locality Name: enter the full name of the city where your company is located. For instance, Nashville.
- Organization Name: enter 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, IT.
- 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. The private key file is necessary for the decryption of your SSL certificate. You can run the ls command to locate them in your working directory.
Open the CSR file with any text editor of your choice such as Notepad, and copy its contents including the —–BEGIN CERTIFICATE REQUEST—– and —–END CERTIFICATE REQUEST—– tags into the corresponding box during the SSL order process.
Wait for the CA to validate your request. After you receive the SSL certificate, you can install the SSL certificate on lighttpd.
Save 10% on SSL Certificates when ordering from SSL Dragon today!
Fast issuance, strong encryption, 99.99% browser trust, dedicated support, and 25-day money-back guarantee. Coupon code: SAVE10
