مرکزی مواد پر جائیں
DigiCert، Sectigo اور GeoTrust SSL سرٹیفکیٹس
+90 850 259 76 06 WhatsApp سپورٹ ری سیلر بنیں ری سیلر API
SSL سرٹیفکیٹس
خودکار SSL
برانڈز
کوڈ سائننگ Entrust HSM Thales HSM LEI کوڈ
ٹولز
سپورٹ رابطہ WhatsApp کارٹ
زبان
کرنسی
SSL سرٹیفکیٹ حاصل کریں
گائیڈز

DirectAdmin پر SSL سرٹیفکیٹ کی تنصیب اور CSR بنانے کی گائیڈ

SSL certificate installation, CSR generation and HTTPS redirection in the DirectAdmin panel. Detailed step by step installation guide.

13 منٹ کا مطالعہ

DirectAdmin is a popular hosting control panel that stands out with its light and fast structure. SSL certificate installation can be done in DirectAdmin in simple and understandable steps. In this guide, we cover CSR creation, paid SSL installation, Let's Encrypt integration and HTTPS forced redirection in detail.

💡 Information: DirectAdmin versions 1.60+ offer built-in Let's Encrypt support. Wildcard SSL support is also available with ACME v2 protocol.

1. Creating CSR

Via DirectAdmin Panel

  1. Log in to DirectAdmin user panel
  2. Click "SSL Certificates" in the
  3. "Advanced Features" یا "Account Manager" section
  4. Check the "Create a Certificate Request" option
  5. Fill in the required information:
    • 2 Letter Country Code: TR
    • State/Province: Istanbul
    • City: Istanbul
    • Company: آپ کی کمپنی کا نام
    • Company Division: IT (optional)
    • Common Name: www.example.com
    • E-Mail: admin@example.com
    • Key Size: 2048 or 4096
  6. Click the "Save" button
  7. Copy the generated CSR

Generating CSR with SSH

# Generating CSR with 2048-bit RSA key
openssl req -new -newkey rsa:2048 -nodes \
  -keyout /home/username/domains/example.com/ssl.key\
  -out /home/username/domains/example.com/ssl.csr

# Generate CSR with existing key
openssl req -new -key /home/username/domains/example.com/ssl.key \
  -out /home/username/domains/example.com/ssl.csr

2. Installing an SSL Certificate

  1. Go to DirectAdmin → "SSL Certificates"
  2. Check "Paste a pre-generated certificate and key"
  3. Paste into the first text box respectively:
    • Private Key (-----BEGIN RSA PRIVATE KEY-----)
    • SSL Certificate (-----BEGIN CERTIFICATE-----)
    • CA Bundle / Intermediate Certificate
  4. Click the "Save" button
⚠️ اہم: In DirectAdmin, the certificate, private key and CA bundle are usually pasted sequentially into a single text box. The order should be: KEY → CRT → CA-BUNDLE.

3. Free SSL with Let's Encrypt

  1. DirectAdmin → "SSL Certificates"
  2. Check "Free & automatic certificate from Let's Encrypt"
  3. Select the certificate type:
    • سرٹیفکیٹ کی قسم: Let's Encrypt or Let's Encrypt Wildcard
    • Key Size: EC 256 (recommended) or RSA 2048
  4. Check the subdomains you want to protect
  5. Click the "Save" button
  6. The certificate will be obtained automatically and renewed before its 90-day validity ends

4. HTTPS Redirect

Via DirectAdmin Panel

  1. Go to "Domain Setup" section
  2. Select the relevant domain
  3. Enable "Force SSL with https redirect"
  4. Click the "Save" button

Redirect with .htaccess

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

5. Common Errors and Solutions

ایررحل
Certificate does not match the private keyUse the private key generated with CSR
Let's Encrypt: unable to verify domainMake sure the DNS A record is pointed to the server IP
SSL is not enabled for this domainDomain Setup → Enable SSL
"Secure" icon not visibleCheck for mixed content errors

اکثر پوچھے جانے والے سوالات

Do I need an additional IP to enable SSL in DirectAdmin?

No, modern DirectAdmin versions can use multiple SSL certificates on shared IP thanks to SNI support.

Does DirectAdmin support Let's Encrypt wildcard SSL?

Yes, you can get a wildcard Let's Encrypt SSL certificate with DNS verification in DirectAdmin 1.60+ versions.

Is separate SSL required for subdomain in DirectAdmin?

If you use Let's Encrypt, you can add subdomains to the certificate. For paid SSL, use either a wildcard or a Multi-Domain SAN certificate.

📌 Note: If you are having problems setting up SSL in your DirectAdmin panel, our DataSSL technical support team can help you.
یہ تحریر شیئر کریں
Ali Yiğit
Yazar

Ali Yiğit

تجویز کردہ SSL سرٹیفکیٹس

تمام پروڈکٹس
DV Certum

Certum Commercial Multi-Domain SSL

Protect multiple domains with a single certificate using Certum Commercial Multi-Domain SSL. DV vali

Rs 19,080.42 /سال
تفصیلات
DV Certum

Certum Commercial Wildcard SSL

Protect your main domain and all your subdomains with a single certificate using Certum Commercial W

Rs 11,061.11 /سال
تفصیلات
EV Certum

Certum Premium EV Multi-Domain SSL

Protect multiple domains at EV level with Certum Premium EV Multi-Domain SSL. Company name visible i

Rs 115,865.14 /سال
تفصیلات