How to Generate a CSR in DirectAdmin?
In this tutorial, we will show you how to generate a CSR in DirectAdmin.
Just follow the steps below:
Step 1. Initiate the CSR generation
- Log into your DirectAdmin account. If you have administrator rights, navigate to the upper right corner and change the access level from Admin to User level
- Locate the Advanced Features section and click on SSL Certificates
- Select Create a Certificate Request
Step 2. Fill in your information
Fill in the fields as shown below:
- 2 Letter Country Code – enter the two-letter abbreviation for the country where your organization is legally located. For example, US or CA
- State/Province – specify the full name of the state where your business is registered. For example, Arizona
- City – type the full name of the city where your organization is located. For example, Phoenix
- Company – enter your company’s legal name. For example, GPI Holding LLC. For a Domain Validation certificate, enter your full name
- Company Division –specify the department managing the SSL certificate. For example, IT
- Common Name – provide the Fully Qualified Domain Name (FQDN) you want to secure. For example, ssldragon.com. If you have a wildcard certificate, add an asterisk in front of the common name (e.g. *.ssldragon.com)
- E–Mail – submit a valid email address
- Key Size (bits) –the standard key size is 2048 bits. Higher values are resource-intensive and may affect your server’s performance
- Certificate type –you will see this field only if you run an older version of DirectAdmin. The hashing algorithm you select will not affect your SSL certificate, because all out SSL products include the SHA-2 hashing algorithm by default
Step 3. Get the CSR
Double-check the fields you’ve just completed, then click Save.
DirectAdmin will now generate the CSR code and your private key.
Save the CSR code including the —–BEGIN CERTIFICATE REQUEST—– and —–END CERTIFICATE REQUEST—– header and footer using a text editor such as Notepad. You will send it to the Certificate Authority, and they will sign your certificate.
As for the private key, you’ll need it when you install an SSL in DirectAdmin. Copy it into a separate file and keep it on your server. Once you close this page, the private key will not be available anymore.
Note: If you don’t see the private key, don’t worry. DirectAdmin has automatically copied it to the SSL installation page.