Case Study

Let's Encrypt kept timing out on a healthy server, and a packet capture showed port 80 never arrived

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

0 vs 12

Connection attempts reaching port 80 and port 443 during the same test

3 / 3

Checks on the server that said port 80 was open: listener, CSF and iptables

33 minutes

From the first certificate check to proof of where port 80 was dropped

Environment

Where port 80 was lostA test from outside sent connections to port 443 and port 80. Port 443 passed the edge firewall and 12 connection attempts reached the server. Port 80 was dropped at the edge firewall, so zero attempts reached the server, even though the web server, CSF and iptables on the server all accepted port 80.One test from outside, captured on the serverTest from outsideconnect to :443Edge firewall443 allowedServer capture12 SYNs arrive on :443Test from outsideconnect to :80Edge firewall80 dropped hereServer capture0 SYNs arrive on :80LiteSpeed, CSF, iptables: all allow 80Nothing configured on the server could fix a packet that never reached it.

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 problem

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.

Investigation

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.

What we did not do

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.

At a glance

Challenge

A new cPanel server could not get Let’s Encrypt certificates for its service names; the port 80 challenge timed out.

Approach

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.

Result

One rule opened port 80 on the edge firewall in front of the server. The certificate was issued the same evening.

The fix

  1. Clear the noise first: the stale /etc/hosts alias removed, backup kept
  2. Prove the host side: LiteSpeed listening on 80, port 80 allowed in CSF and in iptables, the challenge path served by the web server
  3. Capture on the wire: tcpdump on the server while connections to 80 and 443 were sent from outside, which showed 12 SYNs on 443 and 0 on 80
  4. Fix it where it was broken: one rule on the edge appliance to allow TCP port 80 to the server
  5. Close the other gap: public A records recommended for the proxy subdomains, so HTTP validation could reach them too

Outcome

A 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.

More case studies

99 cPanel Accounts Moved to CloudLinux

99 / 99 accounts moved in 36 minutes

cPanel Ubuntu Upgrade Stuck Half-Way

5,141 / 5,141 database tables before and after

Monitoring Checks Blind Under SELinux

73 / 0 items after the fix, none unsupported

Certificates failing while the server looks fine?

We trace the problem to the exact hop that drops it, so the fix goes where the fault is.