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

CWP (Control Web Panel) SSL Certificate Installation and CSR Creation

SSL certificate installation, CSR creation and AutoSSL configuration via CWP (Control Web Panel). CentOS/AlmaLinux panel guide.

13 daqiqada oʻqiladi

CWP (Control Web Panel, formerly CentOS Web Panel) is a free and powerful hosting control panel used on CentOS, AlmaLinux and Rocky Linux servers. In this guide, we explain step by step SSL certificate installation, CSR creation and Let's Encrypt configuration on CWP.

💡 Information: CWP supports Apache, Nginx and LiteSpeed web servers. SSL configuration may differ depending on the web server you use.

1. Creating CSR

Via CWP Panel

  1. Login to CWP admin panel (https://server-ip:2031)
  2. From the left menu "WebServer Settings" → "SSL Certificates"
  3. Click on the "Generate CSR/Key" tab
  4. Fill in the information:
    • Domain: example.com
    • Mamlakat: TR
    • State: Istanbul
    • City: Istanbul
    • Tashkilot: Kompaniya nomi
    • Key Size: 2048 bits
  5. Click the "Generate" button
  6. Copy CSR and Private Key

Generating CSR with SSH

# Creating CSR and Private Key
openssl req -new -newkey rsa:2048 -nodes \
  -keyout /etc/pki/tls/private/example.com.key \
  -out /etc/pki/tls/certs/example.com.csr\
  -subj "/C=TR/ST=Istanbul/L=Istanbul/O=Company/CN=example.com"

# CSR verification
openssl req -text -noout -verify -in /etc/pki/tls/certs/example.com.csr

2. Manual SSL Certificate Installation

  1. CWP admin → "SSL Certificates" → "Install SSL" tab
  2. Fill in the following fields:
    • Certificate File (.crt): Certificate content
    • Certificate Key File (.key): Private key
    • Certificate Chain File (.ca-bundle): CA Bundle
  3. Select Domain
  4. Click the "Install" button
  5. Restart the web server

SSL Installation from Command Line

# Copying certificate files
cp example.com.crt /etc/pki/tls/certs/
cp example.com.key /etc/pki/tls/private/
cp ca-bundle.crt /etc/pki/tls/certs/

# Check Apache configuration
apachectl configtest

# Apache restart
systemctl restart httpd

3. Free SSL with Let's Encrypt

  1. CWP admin → "WebServer Settings" → "AutoSSL"
  2. Switch to "Issue SSL" tab
  3. Enter the domain name (tick the options including/excluding www)
  4. Click the "AutoSSL" button
  5. The certificate will be installed automatically
⚠️ Note: Let's Encrypt certificates have a validity period of 90 days. Check out CWP's auto-refresh cron job: crontab -l | grep ssl

4. HTTPS Redirect

Via CWP Panel (Apache)

CWP offers automatic HTTPS redirection option in domain settings:

  1. "User Accounts" → Related account → "Manage"
  2. Enable the "Force HTTPS" option in the "SSL" tab

Manual Redirect with .htaccess

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

5. Common Errors and Solutions

XatoYechim
AutoSSL failedMake sure ports 80 and 443 are open on the firewall
SSL file permissions errorchmod 600 /etc/pki/tls/private/*.key
Nginx SSL configuration errorNginx config test: nginx -t va systemctl restart nginx
Vhost configuration is corruptRebuild virtual server configurations with CWP → Rebuild Vhosts

Koʻp beriladigan savollar

Which web servers does CWP support?

CWP; Supports Apache, Nginx, Nginx + Apache (reverse proxy) and LiteSpeed ​​web servers. SSL configuration is automatically applied according to the web server you choose.

Can I install wildcard SSL in CWP?

Yes, you can install the paid wildcard SSL certificate manually. Let's Encrypt wildcard requires DNS verification and CWP has limited support for this.

📌 From DataSSL: We offer affordable SSL solutions for all domains in your CWP panel. Check out SSL certificates →
Bu maqolani ulashish
Ali Yiğit
Yazar

Ali Yiğit

Tavsiya etilgan SSL sertifikatlari

Barcha mahsulotlar
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

€375.93 /yil
Tafsilotlar
EV Certum

Certum Premium EV SSL

Get the most comprehensive identity validation with Certum Premium EV SSL. Extended validation, comp

€587.30 /yil
Tafsilotlar
EV DigiCert

DigiCert Basic EV SSL

Extended validation with DigiCert Basic EV SSL. The organization name appears in the certificate det

€342.57 /yil
Tafsilotlar