SSL ensures a secure, encrypted connection between your website and your visitors (HTTPS). In DirectAdmin, you can easily install a free certificate or upload a paid one.
Prerequisite:
Before installing SSL, ensure your domain name points to your server's IP address. If DNS has not propagated yet, the validation will fail.
Before installing SSL, ensure your domain name points to your server's IP address. If DNS has not propagated yet, the validation will fail.
Option 1: Free Automatic SSL (Let's Encrypt)
This is the recommended method for most websites. It is free and renews automatically.
- Log in to DirectAdmin at User Level.
- Navigate to Account Manager > SSL Certificates.
- Select the option: "Free & automatic certificate from Let's Encrypt".
- Check the boxes for the domains you want to secure (e.g.,
domain.comandwww.domain.com). - Click Save.
Success! Your certificate is now live and will auto-renew every 60 days.
Option 2: Paid Certificate (CSR & Installation)
If you purchased a specialized certificate (e.g., EV SSL or Wildcard from Sectigo/DigiCert), follow these steps.
Step 1: Generate a CSR (Certificate Signing Request)
- Go to SSL Certificates in DirectAdmin.
- Select "Create a Certificate Request".
- Fill in your company details (City, Country, Company Name).
- Click Save.
- Copy the text block starting with
-----BEGIN CERTIFICATE REQUEST-----. You need to submit this code to your SSL vendor (e.g., Xolphin, Comodo).
Step 2: Install the Certificate
Once your vendor has validated your request, they will send you the certificate files (usually a .crt and a CA-Bundle).
- Go back to SSL Certificates.
- Select "Paste a pre-generated certificate and key".
- Paste your Private Key (generated in Step 1) and the Certificate (received from vendor) below it.
- Click Save.
Step 3: Install the CA Root / Intermediate Bundle
To ensure the certificate works on mobile devices, you must install the "Chain" file.
- Click on the link "Click here to paste a Root CA Certificate" (usually at the bottom or a separate tab).
- Paste the CA-Bundle / Intermediate code provided by your vendor.
- Click Save.