Негізгі мазмұнға өту
DigiCert, Sectigo және GeoTrust SSL сертификаттары
+90 850 259 76 06 WhatsApp Қолдау Дилер болу
SSL сертификаттары
Брендтер
Кодқа қол қою Entrust HSM Thales HSM LEI коды
Құралдар
Қолдау Байланыс WhatsApp Себет
Тіл
Валюта
SSL сертификатын алу
Нұсқаулықтар

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 мин оқу

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
    • Ел: TR
    • State: Istanbul
    • City: Istanbul
    • Ұйым: Компания атауы
    • 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

ҚатеШешім
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 және systemctl restart nginx
Vhost configuration is corruptRebuild virtual server configurations with CWP → Rebuild Vhosts

Жиі қойылатын сұрақтар

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 →
Бұл жазбаны бөлісу
Ali Yiğit
Yazar

Ali Yiğit

Ұсынылатын SSL сертификаттары

Барлық өнімдер
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

189 784 ₸ /жыл
Толығырақ
EV Certum

Certum Premium EV SSL

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

296 489 ₸ /жыл
Толығырақ
EV DigiCert

DigiCert Basic EV SSL

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

172 943 ₸ /жыл
Толығырақ