CyberPanel is a modern and fast hosting control panel built on OpenLiteSpeed web server. SSL certificate installation is extremely easy in CyberPanel — in most cases it can be done with one click. In this guide, we discuss SSL installation, CSR creation and advanced SSL configurations in CyberPanel in detail.
1. One Click SSL Setup (Let's Encrypt)
One of the biggest advantages of CyberPanel is the ability to install Let's Encrypt SSL certificates in one click:
- Login to CyberPanel management panel (https://server-ip:8090)
- Click "SSL" → "Manage SSL" from the left menu
- Select or enter domain name
- Click the "Issue SSL" button
- The SSL certificate will be installed in a few seconds
Wildcard SSL (Let's Encrypt)
- "SSL" → "Manage SSL"
- Domain:
*.example.com - Select your DNS provider (Cloudflare, DigitalOcean, etc.)
- Enter your API key
- Click the "Issue SSL" button
2. Creating CSR
You will need to generate a CSR for a paid SSL certificate:
Generating CSR with SSH
# Creating CSR on CyberPanel server
openssl req -new -newkey rsa:2048 -nodes \
-keyout /home/example.com/ssl/example.com.key\
-out /home/example.com/ssl/example.com.csr\
-subj "/C=TR/ST=Istanbul/L=Istanbul/O=Company Name/CN=example.com"
3. Paid SSL Certificate Installation
To install a certificate from DataSSL or another certificate provider:
Via CyberPanel Panel
- "SSL" → "Manage SSL"
- Select Domain
- Switch to the "Install Custom SSL" tab
- Fill in the following fields:
- SSL Certificate: CRT file content
- SSL Private Key: Private key content
- Click the "Save" button
From Command Line (OpenLiteSpeed)
# Placing certificate files
mkdir -p /home/example.com/ssl/
cp example.com.crt /home/example.com/ssl/
cp example.com.key /home/example.com/ssl/
cat ca-bundle.crt >> /home/example.com/ssl/example.com.crt
# OpenLiteSpeed restart
systemctl restart lsws
4. HTTPS Redirect
CyberPanel performs automatic HTTPS redirection after SSL is established. For manual configuration:
Redirect with .htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
OpenLiteSpeed Rewrite Rules
CyberPanel → "Websites" → Related site → Add "Rewrite Rules" section:
RewriteCond %{HTTPS} !on
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
5. Common Errors and Solutions
| Error | Solution |
|---|---|
| Issue SSL failed | Make sure the domain DNS is pointed to the server IP. Check that port 80 is open. |
| Cannot get Wildcard SSL | Make sure your DNS API key is correct. Wait for DNS propagation time. |
| Private SSL installation error | Check the certificate and private key format. It must be in PEM format. |
| SSL disappeared after LiteSpeed restart | Check certificate file paths. Install again via CyberPanel. |
Frequently Asked Questions
Is SSL automatically obtained for each domain in CyberPanel?
No by default, but when you do SSL → Issue SSL for each domain, an automatic renewal cron job is created.
Should I use OpenLiteSpeed or LiteSpeed Enterprise?
In terms of SSL, they both work the same way. Enterprise edition offers more features but is paid.