![]() |
|
Guide CyberPanel SSL: Issue Let's Encrypt for Your Website and Fix Failed Certificates - Printable Version +- AdminsForum (https://adminsforum.com) +-- Forum: Free & open-source control panels (https://adminsforum.com/Forum-free-open-source-control-panels) +--- Forum: CyberPanel (https://adminsforum.com/Forum-cyberpanel) +---- Forum: CyberPanel Guides & Tutorials (https://adminsforum.com/Forum-cyberpanel-guides-tutorials) +----- Forum: CyberPanel Domains, DNS & SSL Guides (https://adminsforum.com/Forum-cyberpanel-domains-dns-ssl-guides) +----- Thread: Guide CyberPanel SSL: Issue Let's Encrypt for Your Website and Fix Failed Certificates (/Thread-guide-cyberpanel-ssl-issue-let-s-encrypt-for-your-website-and-fix-failed-certificates) |
CyberPanel SSL: Issue Let's Encrypt for Your Website and Fix Failed Certificates - JAY - 10-24-2026 CyberPanel SSL: Issue Let's Encrypt for Your Website and Fix Failed Certificates CyberPanel gives every website a free Let's Encrypt certificate and renews it automatically. Most of the time you don't do anything: if the domain points to the server when you create the site, it comes up with https straight away. This guide covers checking the certificate, issuing it again by hand, and what to do when it fails. Watch it: Part 5 of the CyberPanel course, Free Let's Encrypt SSL This is Part 5 of 10 in our free CyberPanel Full Course. The written steps below go into more detail. Check the certificate Open Websites, click your domain to open its workspace, go to the SSL & Domains tab and click Manage SSL. Choose the website and CyberPanel shows the current certificate: For our test site cyber.adminslab.com: Status Active, issued by Let's Encrypt, expires 2027-01-22, 89 days remaining. Let's Encrypt certificates last 90 days, and CyberPanel renews them before they expire. The Issue SSL button requests a new certificate for the site. Use it after fixing DNS, after adding a www record or an alias, or when the status isn't Active. You can also see the certificate from SSH: Code: echo | openssl s_client -connect cyber.adminslab.com:443 -servername cyber.adminslab.com 2>/dev/null | openssl x509 -noout -issuer -enddate -ext subjectAltNameCode: issuer=C = US, O = Let's Encrypt, CN = YR2
X509v3 Subject Alternative Name:
DNS:cyber.adminslab.com
notAfter=Jan 22 10:30:23 2027 GMTCode: cyber.adminslab.comCode: www.cyberBefore you click Issue SSL Let's Encrypt checks that you control the domain by fetching a file from it over plain http (port 80). So:
Adding www later Created the site without a www record? Add the A record for Code: wwwCode: dig +short www.yourdomain.comWhy issuing fails, and the fix
Code: /home/cyberpanel/error-logs.txtCode: /usr/local/lsws/logs/error.logForce https Having a certificate doesn't send visitors to https by itself. For WordPress, set both URLs in Settings > General to https. For any site, you can add this to the top of Code: public_html/.htaccessCode: RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]Code: systemctl restart lswsThe panel's own certificate (port 8090) The panel on port 8090 uses a separate, self-signed certificate after install, which is why your browser warns you. Giving the panel a real certificate on its own hostname is a separate step; we cover it in its own guide. New site? Start with creating a website in CyberPanel. More CyberPanel guides
Tested on CyberPanel 3.0 (build 8, OpenLiteSpeed edition) on Ubuntu 24.04, October 2026. Menu names can change slightly between versions. |