Using a Commercial SSL Certificate in DirectAdmin
If you have purchased an SSL certificate from a certificate authority (CA) such as Comodo, GeoTrust, DigiCert, or Sectigo, you will need to generate a CSR, submit it to the CA, and then install the returned certificate in DirectAdmin.
Step 1: Generate a Certificate Signing Request (CSR)
- Log in to DirectAdmin and go to Account Manager → SSL Certificates.
- Select Create a certificate request.
- Fill in the required fields:
- Common Name: Your domain name (e.g.,
www.example.com) - Organization: Your company or personal name
- City, State, Country: Your location details
- Email: Your contact email
- Key Size: Select 2048-bit or higher
- Common Name: Your domain name (e.g.,
- Click Save. DirectAdmin will generate both a private key and a CSR.
- Copy the entire CSR text (including the
-----BEGIN CERTIFICATE REQUEST-----and-----END CERTIFICATE REQUEST-----lines).
Important: Do not delete or regenerate the private key after generating the CSR. The private key and certificate must match. If you lose the private key, you will need to reissue the certificate.
Step 2: Submit CSR to Your Certificate Authority
Paste the CSR into your CA's order form. Complete any required domain validation (email, DNS, or file-based). The CA will issue your certificate files, typically including a primary certificate and a CA bundle (intermediate certificates).
Step 3: Install the Certificate
- Return to SSL Certificates in DirectAdmin.
- Select Paste a pre-generated certificate and key.
- Paste your issued certificate into the certificate field.
- If prompted, paste the CA bundle (intermediate certificate) into the appropriate field.
- Click Save.
Visit your site over HTTPS to confirm the certificate is installed and the chain is valid. Tools like SSL Labs can help verify the full certificate chain.