Asosiy kontentga oʻtish
DigiCert, Sectigo va GeoTrust SSL sertifikatlari
+90 850 259 76 06 WhatsApp Yordam Diler boʻlish
SSL sertifikatlari
Brendlar
Kod imzolash Entrust HSM Thales HSM LEI kodi
Vositalar
Yordam Aloqa WhatsApp Savat
Til
Valyuta
SSL sertifikatini olish
Qoʻllanmalar

DirectAdmin'da SSL sertifikatini oʻrnatish va CSR yaratish qoʻllanmasi

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

13 daqiqada oʻqiladi

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" yoki "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: Kompaniyangiz nomi
    • 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
⚠️ Muhim: 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:
    • Sertifikat turi: 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

XatoYechim
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

Koʻp beriladigan savollar

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.
Bu maqolani ulashish
Ali Yiğit
Yazar

Ali Yiğit

Tavsiya etilgan SSL sertifikatlari

Barcha mahsulotlar
DV Certum

Certum Commercial Multi-Domain SSL

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

827 069 soʻm /yil
Tafsilotlar
DV Certum

Certum Commercial Wildcard SSL

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

479 460 soʻm /yil
Tafsilotlar
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

5 022 347 soʻm /yil
Tafsilotlar