Rocky Linux 8 x64
CyberPanel
Current Version: 2.3
Build: 4Current Commit: 5aee24ae593cdbbf5b1ccea5ad3f9c8898d5a7b1
Latest Version: 2.3
Latest Build: 4Latest Commit: 5aee24ae593cdbbf5b1ccea5ad3f9c8898d5a7b1
The Problem
I create a website example.com, an Lets Encrypt certificate is issued, i visit example . com page loads and it works - I then go to manage the website in cyberpanel and click on “Add SSL” to use my own cloudflare certificate and key files - i press save, Cyber Panel states that i have 5000 days left on my certificate, yet when i visit example.com its still the lets encrypt one
What I’ve tried:
The ol’ turn it off and back on again (server reboot)
Changing the certificate file under /etc/letsencrypt/example.com and restarted the server - doesnt work
Login to the OpenLiteSpeed CP and change the listners certificate location - doesnt work
My VHost looks like this:
docRoot $VH_ROOT/public_html
vhDomain $VH_NAME
vhAliases www.$VH_NAME
adminEmails [email protected]
enableGzip 1
enableIpGeo 1
errorlog $VH_ROOT/logs/$VH_NAME.error_log {
useServer 0
logLevel WARN
rollingSize 10M
}
accesslog $VH_ROOT/logs/$VH_NAME.access_log {
useServer 0
logFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i""
logHeaders 5
rollingSize 10M
keepDays 10
compressArchive 1
}
index {
useServer 0
indexFiles index.php, index.html
}
scripthandler {
add lsapi:examp7077 php
}
extprocessor examp7077 {
type lsapi
address UDS://tmp/lshttpd/examp7077.sock
maxConns 10
env LSAPI_CHILDREN=10
initTimeout 600
retryTimeout 0
persistConn 1
pcKeepAliveTimeout 1
respBuffer 0
autoStart 1
path /usr/local/lsws/lsphp81/bin/lsphp
extUser examp7077
extGroup examp7077
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 400
procHardLimit 500
}
context /.well-known/acme-challenge {
location /usr/local/lsws/Example/html/.well-known/acme-challenge
allowBrowse 1
rewrite {
enable 0
}
addDefaultCharset off
}
context / {
type appserver
location /home/example.com/public_html/portfolio
binPath /usr/bin/node
appType node
maxConns 100
addDefaultCharset off
}
rewrite {
enable 1
autoLoadHtaccess 1
}
vhssl {
keyFile /home/certificates/example.com/key.pem
certFile /home/certificates/example.com/cert.pem
certChain 1
CACertPath /home/certificates/CAs/
CACertFile cloudflare.pem
enableECDHE 1
renegProtection 1
sslSessionCache 1
enableSpdy 15
enableStapling 1
ocspRespMaxAge 86400
}
module cache {
storagePath /usr/local/lsws/cachedata/$VH_NAME
}
Note: although Im using this website as an example, the problem is with all domains on this install - its a new install (as in like 2 days old) with 3 websites - im also quite new to CyberPanel coming from cPanel