Skip to main content
    Installation Guide
    Updated Dec 2025

    How to Install SSL Certificate on DirectAdmin

    Complete step-by-step guide to install SSL certificates on DirectAdmin control panel. Written by certified security professionals with 10+ years of hosting experience.

    16 min read
    My-SSL Security Team
    December 15, 2025

    About This Guide

    This comprehensive guide covers SSL installation on DirectAdmin, a lightweight yet powerful web hosting control panel. Follow our step-by-step instructions to secure your website with HTTPS.

    Introduction to DirectAdmin SSL

    DirectAdmin is a powerful, lightweight web hosting control panel known for its simplicity and efficiency. With a clean interface and straightforward navigation, DirectAdmin makes SSL certificate management accessible to both beginners and experienced administrators.

    Whether you're managing a single website or multiple domains, understanding how to properly install SSL certificates in DirectAdmin is essential for website security. This comprehensive guide will walk you through every step of the SSL installation process.

    Before we dive in, make sure you understand what SSL certificates are and how SSL encryption works.

    What You'll Need Before Starting

    Prerequisites Checklist:

    • DirectAdmin panel access (User or Admin level)
    • Domain name configured and pointing to your server
    • SSL certificate files (Certificate, Private Key, CA Bundle)
    • Or: CSR ready for ordering a new certificate

    Tip: If you haven't purchased an SSL certificate yet, we recommend browsing our SSL certificates to find the best option for your needs.

    1Generate CSR Using My-SSL Tools

    The first step in obtaining an SSL certificate is generating a Certificate Signing Request (CSR). While DirectAdmin can generate CSRs, we recommend using our free CSR Generator for a more streamlined experience.

    How to Generate Your CSR:

    1

    Navigate to My-SSL CSR Generator

    Visit our CSR Generator tool

    2

    Enter Your Common Name (CN)

    This is your fully qualified domain name (e.g., www.example.com)

    3

    Fill in Organization Details

    Company name, department, city, state, country, and email

    4

    Add Subject Alternative Names (SANs)

    If you need to secure multiple domains with one certificate

    5

    Choose Key Size

    Select 2048-bit (standard) or 4096-bit (maximum security)

    6

    Generate and Download

    Click Generate to create your CSR and Private Key

    Critical Warning: Save your Private Key in a secure location immediately! You'll need it during installation, and it cannot be recovered if lost. Never share your private key.

    2Order Your SSL Certificate

    With your CSR ready, submit it to order your SSL certificate. Choose the validation type that matches your security needs.

    Recommended

    Order Your SSL Certificate

    Get your domain secured with a trusted SSL certificate from My-SSL.

    DV SSL Certificate

    Starting at From $2.99/year/year

    • Quick Issuance
    • 99.9% Browser Trust
    • Free Reissues
    • 24/7 Support
    View DV SSL Options

    3Access DirectAdmin SSL Certificates

    Now let's access the SSL management section in DirectAdmin:

    For User Level Access:

    1. Login to DirectAdmin - Access your panel at https://yourdomain.com:2222
    2. Check Your Access Level - Confirm you're at "User Level" in the top menu
    3. Navigate to Advanced Features - Find this section in the main menu
    4. Click "SSL Certificates" - This opens the SSL management interface

    For Admin Level Users:

    If logged in as Admin, click the dropdown menu and select "User Level" to access SSL management for a specific domain.

    4Upload Certificate and Private Key

    Now we'll install your SSL certificate and private key in DirectAdmin:

    1

    Select Installation Option

    Choose 'Paste a pre-generated certificate and key'

    2

    Paste Your Private Key

    In the 'Private Key' field, paste your complete private key including BEGIN/END tags

    3

    Paste Your Certificate

    In the 'Certificate' field, paste your SSL certificate including BEGIN/END tags

    4

    Click Save

    DirectAdmin will store your certificate and key

    -----BEGIN RSA PRIVATE KEY-----
    MIIEpAIBAAKCAQEA2Z3qX2BTLS4e...
    [Your private key content]
    -----END RSA PRIVATE KEY-----

    5Install CA Bundle (Intermediate Certificate)

    This step is crucial for browser trust! Without the CA Bundle, visitors may see security warnings.

    1

    Return to SSL Certificates

    Go back to the main SSL Certificates menu

    2

    Find CA Certificate Option

    Look for 'Click Here to paste a CA Root Certificate' or 'SSL CA Certificate'

    3

    Paste Your CA Bundle

    Paste your intermediate certificate(s) including BEGIN/END tags

    4

    Enable CA Certificate

    Check the 'Use a CA Cert' checkbox

    5

    Click Save

    DirectAdmin will store your CA bundle

    Important: The CA Bundle must be installed for your certificate to be trusted by all browsers. Missing this step is the most common cause of "untrusted certificate" warnings!

    6Enable SSL for Your Domain

    After uploading your certificate files, you need to enable SSL for your domain:

    1. Check SSL Status - View the current SSL status at the top of the SSL Certificates panel
    2. Enable SSL if Disabled - Click "You can enable it here" or navigate to Domain Setup
    3. Tick "Secure SSL" - In Domain/Hosting Settings, check the "Secure SSL" option
    4. Click Save - DirectAdmin will configure Apache/Nginx automatically

    Success: You should see a confirmation message: "SSL Certificate Successfully Installed"

    7Verify Your SSL Installation

    After installation, verify everything is working correctly:

    Manual Verification:

    • Visit https://yourdomain.com
    • Check for padlock icon in browser
    • No security warnings displayed
    • Click padlock to view certificate details

    Automated Verification:

    Use our SSL Checker for comprehensive verification including chain validation and protocol analysis.

    Open SSL Checker

    Configure HTTPS Redirect

    To ensure all visitors use HTTPS, set up automatic redirects:

    Method 1: .htaccess Redirect (Recommended)

    Add this code to your .htaccess file in the website root:

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    Method 2: DirectAdmin Force SSL

    Some DirectAdmin versions include a "Force SSL with https redirect" option in Domain Setup or HTTP Redirect Settings.

    Common Errors & Troubleshooting

    ErrorCauseSolution
    Certificate doesn't match keyWrong private keyUse Key Matcher to verify
    Untrusted certificateMissing CA BundleInstall intermediate certificate
    Browser shows HTTPSSL not enabledCheck 'Secure SSL' option
    Could not execute requestSyntax errorVerify certificate format
    Mixed content warningsHTTP resourcesUpdate URLs to HTTPS
    Certificate not foundWrong domainSelect correct domain
    Private key not foundKey not savedRe-upload private key

    Setting Up SSL Expiry Reminders

    SSL certificates expire after 1-2 years. Don't let your certificate expire unexpectedly!

    Set Up Free Reminders:

    1. Visit our SSL Checker tool
    2. Enter your domain name
    3. Subscribe to expiry reminders
    4. Choose notification timing (30, 14, 7 days before)
    5. Receive email alerts before expiration
    Set Up Reminders

    Let's Encrypt vs Purchased SSL

    FeatureLet's Encrypt (Free)Purchased SSL
    CostFreeFrom $2.99/year
    Validity Period90 days (auto-renews)1-2 years
    Validation LevelDV onlyDV, OV, EV
    WarrantyNoneUp to $1.75M
    Wildcard SupportYes (with plugin)Full support
    Business TrustBasicHigh
    Auto-RenewalVia pluginManual
    SupportCommunity24/7 professional
    Recommended

    Need Enterprise-Grade Security?

    Upgrade to business-class SSL with organization validation and warranty protection.

    OV & EV SSL Certificates

    Starting at From $29/year/year

    • Organization Validation
    • Business Trust
    • $1.75M Warranty
    • Priority Support
    View OV SSL Options

    Installing Wildcard SSL on DirectAdmin

    Wildcard certificates secure unlimited subdomains under one certificate:

    Wildcard SSL Installation:

    • Generate CSR with *.yourdomain.com as the Common Name
    • Installation process is identical to standard SSL
    • Covers: www, mail, shop, and all other subdomains
    • Works with all web servers supported by DirectAdmin

    Learn more about wildcard and other certificate types.

    Best Practices for DirectAdmin SSL

    Regular Monitoring

    • • Check certificate status monthly
    • • Set up expiry reminders (30+ days)
    • • Monitor for security warnings
    • • Review after server changes

    Security Measures

    • • Use 2048-bit or 4096-bit keys
    • • Never share private keys
    • • Store backups securely
    • • Use unique certificates per domain

    Cross-Platform Guides:

    If you manage servers with different control panels, check out our other installation guides:

    Frequently Asked Questions

    How long does it take to install SSL on DirectAdmin?

    The actual installation process takes 5-10 minutes once you have all certificate files ready. DV certificate validation can be completed in minutes, while OV/EV validation may take 1-5 business days.

    Can I install a free SSL certificate on DirectAdmin?

    Yes, DirectAdmin supports Let's Encrypt through plugins. However, purchased SSL certificates offer longer validity periods, warranty protection, and higher validation levels.

    Why is my SSL certificate not working after installation?

    Common causes include: missing CA Bundle, private key mismatch, SSL not enabled for domain, or incorrect certificate order. Use our SSL Checker and Key Matcher tools to diagnose.

    How do I find the SSL Certificates option in DirectAdmin?

    Navigate to User Level → Advanced Features → SSL Certificates. If logged in as Admin, switch to User level first using the dropdown menu.

    What is a CA Bundle and do I need it for DirectAdmin?

    Yes! The CA Bundle (intermediate certificate) establishes trust between your certificate and the root Certificate Authority. Without it, browsers will show security warnings.

    How do I renew an SSL certificate in DirectAdmin?

    Generate a new CSR, order a renewal certificate, and follow the same installation steps. You can use the existing private key or generate a new CSR for maximum security.

    Can I install multiple SSL certificates on DirectAdmin?

    Yes, DirectAdmin supports multiple SSL certificates for different domains on the same server. Each domain can have its own certificate through the Domain Setup section.

    How do I install a Wildcard SSL on DirectAdmin?

    Installation is identical to standard SSL. Generate a CSR with *.yourdomain.com as the Common Name, order a wildcard certificate, and follow the normal installation steps.

    Why does my browser show 'Not Secure' after installing SSL?

    This usually means SSL isn't enabled for your domain, you're accessing via HTTP instead of HTTPS, there's mixed content, or the CA Bundle is missing.

    What's the difference between Let's Encrypt and purchased SSL?

    Let's Encrypt certificates are free but valid only 90 days. Purchased certificates last 1-2 years, include warranty protection, and offer OV/EV validation options.

    How do I switch from User to Admin level in DirectAdmin?

    Click the dropdown menu showing your current access level or username, then select the desired level. SSL management requires User Level access.

    Where do I find my private key in DirectAdmin?

    If you generated the CSR in DirectAdmin, the private key is stored automatically. If generated externally, you should have saved it when creating the CSR.

    Related Articles