TLS inspection (SSL decryption) on firewalls: how it works, what to exclude and the risks
In short: Most web traffic is encrypted, so firewalls cannot see malware or data leaving inside it. TLS inspection makes the firewall act as a trusted intermediary: it decrypts, inspects and re-encrypts traffic using certificates from a company CA that managed devices trust. It improves visibility but breaks some applications, uses a lot of processing power and has privacy and legal implications, so exclusions are essential.
The visibility problem
Well over 90 percent of web traffic now uses HTTPS. That protects users, but it also hides malware downloads, phishing pages and data being uploaded to personal cloud storage from security tools that look at the network. Without decryption, a firewall can only see the destination name (from SNI or DNS), the server's certificate and traffic volumes.
How it works
- A user's browser connects to https://example.com. The firewall intercepts the connection.
- The firewall connects to the real example.com itself and checks the real certificate.
- It generates a certificate for example.com on the fly, signed by the company's internal certificate authority, and presents it to the browser.
- The browser trusts it because the company CA has been installed on managed devices through Group Policy or MDM.
- The firewall now sees the traffic in plain form, applies malware scanning, URL filtering, DLP and application controls, and re-encrypts it in both directions.
Unmanaged devices without the CA will show certificate warnings, which is why guest networks are normally excluded.
What breaks
- Certificate pinning: some apps (banking apps, some update services, many mobile apps) only accept specific certificates and fail through inspection.
- Mutual TLS: services where the client presents its own certificate cannot be intercepted.
- Non-browser software with its own certificate store (Java, Python, some developer tools) does not trust the company CA unless configured.
- Protocols on port 443 that are not really HTTPS.
What to exclude
- Privacy-sensitive categories: banking and finance, health and medical, and often government services. Local laws and employment agreements may require this.
- Pinned and broken applications, found during testing: OS updates, collaboration tools, security agents.
- Trusted, high-volume services such as some Microsoft 365 endpoints, where the vendor recommends bypassing inspection for performance.
Write a clear policy explaining what is decrypted and why, and tell users. Protect the firewall's CA private key carefully: anyone who has it can impersonate any website to your devices.
Performance
Decryption needs a lot of processing. A firewall's throughput with TLS inspection enabled is often a fraction of its plain firewall throughput, so check the vendor's "TLS inspection throughput" figure when sizing hardware.
TLS 1.3 and Encrypted ClientHello
TLS 1.3 encrypts the server certificate during the handshake, so passive inspection (just looking at certificates) no longer works; a full proxy is needed. Encrypted ClientHello (ECH) also hides the SNI, so without decryption a firewall may not even see which site is being visited. Organisations relying on SNI-based filtering are moving to DNS-based controls or full inspection on managed devices.
Real-world example: the invoice that hid malware
A staff member downloaded a "PDF invoice" over HTTPS from a compromised file-sharing site. Without inspection, the firewall saw only an encrypted connection to a legitimate-looking domain. After TLS inspection was enabled for uncategorised and file-sharing sites, the next attempt was caught by the firewall's malware scanning, and the download was blocked before it reached the laptop.
Practice
Why must managed devices trust the company's internal CA for TLS inspection to work?
Name two kinds of traffic commonly excluded from TLS inspection.
How does Encrypted ClientHello affect firewalls?
Key takeaways
- TLS inspection decrypts HTTPS so firewalls can inspect it, using a company CA.
- Pinned apps, mutual TLS and some software break without exclusions.
- Exclude privacy-sensitive categories and protect the CA key.
- Size hardware for decryption; TLS 1.3 and ECH reduce passive visibility.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.