Case Study
A new cPanel shared hosting server could not get Let’s Encrypt certificates for its own service names. Every check on the server passed: the web server was listening on port 80, and both CSF and iptables allowed it. Rather than keep changing settings on the server, we captured traffic on it while sending connections from outside. Twelve connection attempts arrived on port 443 and none on port 80. The block was an edge firewall in front of the server. Once port 80 was opened there, the certificate was issued the same evening.
July 2026 · 3 min read
SECTOR
Hosting provider
SCALE
New cPanel shared hosting server, still being set up
PLATFORM
CloudLinux 10.2 on AlmaLinux 10.2, cPanel & WHM 136, LiteSpeed Enterprise, CSF, Imunify360
ENGAGEMENT
Service certificates would not issue
Connection attempts reaching port 80 and port 443 during the same test
Checks on the server that said port 80 was open: listener, CSF and iptables
From the first certificate check to proof of where port 80 was dropped
Scroll the diagram sideways to see all of it →
When the server says a port is open and the outside world says it is not, look at the wire before touching another setting.
The server could not get certificates for its own services. cPanel’s certificate check refused, one way after another, to validate the server’s service names. DNS validation was ruled out because the server was not an authoritative nameserver for the domains. HTTP validation was ruled out for the proxy subdomains because they had no public A records. For the names that could be checked over HTTP, Let’s Encrypt’s challenge on port 80 timed out, and cPanel’s own hint was “likely firewall problem”. We also found and removed a stale alias in /etc/hosts, with a backup taken first, so it could not confuse the checks.
Every check on the server said port 80 was open. LiteSpeed was listening on port 80. CSF listed port 80 in its allowed inbound ports, and iptables had an ACCEPT rule for it. A request for the challenge path answered with a normal 404 from the web server, so the path was being served. From the server’s side there was nothing left to fix. So we ran tcpdump on the server’s network interfaces and, while it ran, sent connections to ports 80 and 443 from our management host outside. Twelve connection attempts (SYN packets) arrived on port 443. On port 80, none arrived at all.
Twelve packets reached port 443 and none reached port 80, from the same test at the same moment. That pointed past the server.
Keep changing settings on a server that was not the problem. We did not loosen CSF, touch iptables, or move the server to DNS validation, because the capture had already shown that port 80 traffic never reached the host. Instead we asked for one rule on the edge appliance in front of the server: allow TCP port 80 to the server’s address. We also recommended adding public A records for the proxy subdomains, so cPanel could validate those names over HTTP as well.
A new cPanel server could not get Let’s Encrypt certificates for its service names; the port 80 challenge timed out.
Listener, CSF and iptables all allowed port 80. A packet capture during an outside test showed 12 SYNs on port 443 and 0 on port 80.
One rule opened port 80 on the edge firewall in front of the server. The certificate was issued the same evening.
/etc/hosts alias removed, backup kepttcpdump on the server while connections to 80 and 443 were sent from outside, which showed 12 SYNs on 443 and 0 on 80A certificate the same evening, and a clear line between the host and the network. After port 80 was opened at the edge, Let’s Encrypt issued the certificate that evening, valid until 12 October 2026. Some things are not in our record, and we would rather say so: who changed the edge firewall and at what time, the exact command that produced the certificate, which of the service names it covered, whether the missing A records were added, and whether the certificate renewed before it expired. No browser check from outside was recorded either. The lesson we take: when every check on the server says a port is open and the outside world still times out, a two-minute packet capture settles which side the problem is on, before anyone changes another setting.
We trace the problem to the exact hop that drops it, so the fix goes where the fault is.