Skip to content 99% OFF 🎉 Anniversary Sale 99% OFF Shared Hosting Use Code HURRYUP Claim Offer 99% OFF Hosting
99% OFF Hosting — Code HURRYUP
Products
AI Website Builder New VPS Hosting Cloud Servers Web Hosting cPanel Hosting Dedicated Servers Domains
Company
About Documentation Support Center Contact Get Started Call +91 75795 45488
Login
Hosting Panel — cPanel & Billing Console Panel — VPS Management
ALL SYSTEMS OPERATIONAL
cPanel

cPanel/WHM 'Not Secure' at Port 2083? Fix the Panel SSL

Getwebup 6 min read

You log into WHM to check on a client's site and Chrome throws up "Your connection is not private." Your website's padlock is green and fine - this warning is coming from cPanel or WHM itself, on port 2083 or 2087. It's a different certificate than the one securing the sites you host, and it breaks for different reasons than a normal "Not Secure" website warning. Here's what's actually going on and how to fix it for good.

Symptom: what you're actually seeing

This shows up in a few slightly different ways depending on your browser and setup:

  • Chrome or Firefox blocks https://yourserver.com:2083 with NET::ERR_CERT_COMMON_NAME_INVALID or a plain "Your connection is not private" screen
  • Clicking "Certificate details" shows a name you don't recognize - something like *.yourhostingprovider.com, cprapid.com, or a self-signed cert labeled "cPanel Default Certificate"
  • WHM at :2087 and Webmail at :2096 throw the same warning, even though https://yourdomain.com loads with a perfectly valid padlock
  • The warning appears when you type the server's IP address in the URL bar, but goes away when you use the hostname - or vice versa

The key thing to notice: your website's SSL and your panel's SSL are two completely separate certificates, issued and renewed independently. Fixing one does nothing for the other.

Cause: the panel has its own certificate, separate from every site you host

cPanel and WHM run on a background service called cpsrvd, which serves the cPanel interface (2083), WHM (2087), Webmail (2096), and a few other panel ports. That service needs its own SSL certificate, matching its own name - and that name is the server's hostname, not any of the domains parked or hosted under it. When people say "cPanel's SSL is broken," it's almost always one of four things.

1. You're browsing by IP address

A certificate is issued for a name (a hostname or domain), never for a bare IP address. If you access the panel at https://185.xx.xx.xx:2083, no certificate on earth will match, and the browser will always flag it - even if everything else is configured correctly. This one isn't a bug; it's how TLS works.

2. The server hostname isn't a real, DNS-resolvable domain

Most VPS images ship with a placeholder hostname like localhost.localdomain or an auto-generated string your provider assigned at spin-up, such as vmi482913.contabo.host. AutoSSL can only issue a certificate for the hostname if that hostname is a domain you actually control, with an A record pointing at the server. If it's a placeholder with no matching DNS record, AutoSSL silently fails and cPanel falls back to a self-signed certificate.

3. AutoSSL never got asked to cover the panel service

AutoSSL runs per cPanel account by default, securing the domains hosted in each account. The hostname itself - the name the panel uses for its own login screen - is a separate target that WHM handles under Manage Service SSL Certificates. If that was never pointed at an AutoSSL-issued cert, or was skipped during initial server setup, the panel keeps serving whatever self-signed certificate it shipped with.

4. An old or wrong certificate is still selected as the "Service Certificate"

Even when a valid certificate for the hostname exists on the server, WHM won't use it automatically for cPanel/WHM/Webmail unless it's explicitly selected as the service certificate. It's easy to renew a cert and forget this last step, so the panel keeps handing out the expired one it was using before.

Fix: get a real certificate assigned to the panel

  1. Confirm the hostname and its DNS record. Run:
    hostname -f
    dig +short yourhostname.example.com A
    The output of dig should match your server's actual IP. If it returns nothing, fix the A record before doing anything else - AutoSSL can't validate a hostname that doesn't resolve.
  2. Verify the hostname in WHM. Go to WHM Home > Server Configuration > Basic WebHost Manager Setup and check the Hostname field matches step 1 exactly.
  3. Run AutoSSL for the hostname. Go to WHM Home > SSL/TLS > Manage AutoSSL and click Run AutoSSL For All Users. If the hostname is a domain owned by the root/WHM account rather than a cPanel user, this step may not touch it - see the note below.
  4. Point the panel at that certificate. Go to WHM Home > Service Configuration > Manage Service SSL Certificates, select cPanel/WHM/Webmail, click Browse Certificates, and choose the certificate issued for the hostname. Install it.
  5. Restart the panel service so it picks up the new certificate immediately instead of waiting for its own refresh cycle:
    /usr/local/cpanel/scripts/restartsrv_cpsrvd
  6. Always access the panel by hostname, not IP, going forward - bookmark https://yourhostname.example.com:2083 instead of the raw IP address.

If AutoSSL still won't cover the hostname

The hostname needs to be recognized as a domain WHM can validate - which usually means it should NOT also be actively hosted as a website under a cPanel account (that's a common conflict: using yourdomain.com as both the server hostname and a hosted site). Pick a dedicated FQDN for the server that isn't one of your live sites, like server1.yourdomain.com, point an A record at it, and re-run the steps above.

If you're on Getwebup shared hosting or a managed VPS

You won't have WHM root access on shared plans, so you can't run these steps yourself. Open a support ticket and ask Getwebup to confirm AutoSSL coverage for the server's own hostname - it's a five-minute check on our side and doesn't touch your website's certificate at all.

Quick reference

SymptomLikely causeFix
Warning only when using the IP addressCertificates can't match a bare IPAlways browse the panel by hostname
Cert shows a random provider domain or "cPanel Default"No valid AutoSSL cert was ever issued for the hostnameConfirm DNS, re-run AutoSSL, assign it as the service certificate
Warning on :2083 and :2087 but website loads finePanel service cert and website cert are separate; only the panel one is brokenFix via Manage Service SSL Certificates, not per-domain AutoSSL
Cert looks valid but browser still complainsOld certificate still selected as the active service certificateRe-select the current cert under Manage Service SSL Certificates, restart cpsrvd
AutoSSL keeps skipping the hostnameHostname is also used as a hosted site's domain, or isn't a real FQDNUse a dedicated hostname not tied to any hosted account, with its own A record

Prevention

Set a real, dedicated FQDN as the server hostname at provisioning time, before you host a single site on the box - it's far more annoying to change later, since mail delivery, license activation, and the panel's SSL all key off it. Once AutoSSL is covering the hostname correctly, it renews automatically every 90 days along with your other certificates, so this shouldn't come up again unless the hostname itself changes or DNS for it lapses. If you do change the server hostname down the line, treat it as a two-step job: update DNS first, confirm it resolves, then update the hostname in WHM - not the other way around.

Frequently asked questions

Why does cPanel show a different SSL warning than my website?

cPanel and WHM run on a background service (cpsrvd) that uses its own certificate, matched to the server's hostname - not to any of the domains you host. Your website's AutoSSL certificate and the panel's certificate are issued and renewed completely independently, so one can be broken while the other is fine.

Can I use my website's SSL certificate for cPanel/WHM login too?

Only if the certificate's name matches the server's actual hostname, which it usually won't unless you deliberately requested a certificate that includes the hostname as a SAN entry. It's simpler to let AutoSSL issue a separate certificate for the hostname and assign it under Manage Service SSL Certificates.

Why does the warning disappear when I use the hostname instead of the IP address?

TLS certificates are issued for names, not IP addresses. Even a perfectly valid certificate will never match a bare IP in the URL bar, so browsing by IP always triggers a mismatch warning regardless of how correctly everything else is configured.

Do I need to buy an SSL certificate just to secure cPanel/WHM?

No. AutoSSL, which comes free with any modern cPanel license, can issue a certificate for the server's hostname the same way it does for hosted domains - as long as the hostname is a real FQDN with a matching DNS A record.

How do I find out what my server's actual hostname is?

Run 'hostname -f' over SSH, or check WHM Home > Server Configuration > Basic WebHost Manager Setup. Compare that value against a DNS lookup ('dig +short yourhostname A') to confirm it resolves to the server's real IP.

#cpanel #whm #ssl-certificate #autossl #service-ssl #port-2083

Keep reading

Chat with Support