In this guide
1. What SSL decryption does
“SSL decryption” is the common operational term for inspecting encrypted web traffic. Modern HTTPS uses TLS, not the obsolete SSL protocols, so vendor documentation may call this TLS inspection, SSL forward proxy, HTTPS inspection or deep inspection.
Without decryption, a firewall can still evaluate useful metadata and connection behaviour: source and destination, ports, DNS observations, certificate details where visible, SNI where not encrypted, session duration, byte counts and known IP/domain reputation. But it generally cannot inspect the encrypted HTTP request path, headers, body, downloads or uploads. TLS 1.3 encrypts more handshake material than older versions, and Encrypted Client Hello (ECH), where deployed, can reduce visibility into the requested hostname.
With forward-proxy decryption, the inspection device terminates the client's TLS session, establishes a separate TLS session to the destination, inspects the plaintext between those sessions, and then re-encrypts traffic onward. The device is therefore a trusted intermediary and a potential point of failure.
What decryption can help detect
- Malware or exploit content delivered over HTTPS.
- Suspicious downloads, scripts, and file types.
- Command-and-control or risky application activity where signatures and inspection engines can identify it.
- Data exfiltration patterns or policy violations in supported protocols.
- Web requests that require URL, content or application-level inspection.
What it does not guarantee
Decryption is not a substitute for endpoint detection, DNS security, identity controls, application control, egress filtering or patching. Detection depends on supported protocols, inspection profiles, current signatures, policy scope and whether traffic actually matches a decryption rule. Encrypted traffic that is bypassed, pinned, unsupported or otherwise not inspected remains outside that visibility.
2. How TLS inspection works
- Client initiates HTTPS. The client connects to a destination through the firewall or secure web gateway.
- Policy match. The device evaluates the session against decryption rules, including source/destination zones, addresses, users, categories, applications and rule order where supported.
- Proxy certificate presented. For a decrypted session, the device presents the client with a dynamically generated certificate for the destination hostname, signed by an enterprise inspection CA trusted by managed clients.
- Client validates trust. The client validates the presented certificate chain, name, validity and applicable policy. If the enterprise CA is not trusted, the user sees a certificate error or the connection fails.
- Firewall establishes upstream TLS. The inspection device independently validates and connects to the real server. Upstream certificate validation must be enabled and correctly configured.
- Inspection occurs. Supported security profiles inspect the decrypted traffic. The device forwards permitted content and blocks or resets sessions according to policy.
- Logging records the result. Logs should show the matching rule, action, failure reason and security verdict where the platform exposes them.
3. Inspection modes
| Mode | What happens | Typical use | Limitations |
|---|---|---|---|
| No-decrypt / bypass | The device forwards the encrypted session without decrypting its content. | Approved exclusions, incompatible applications, privacy-sensitive categories or justified risk exceptions. | Reduced content visibility; other controls still need to apply. |
| Certificate inspection | The device examines certificate and handshake metadata without acting as a full TLS man-in-the-middle proxy. | Lower-impact baseline inspection or environments where decryption is not justified. | Cannot inspect encrypted HTTP content or files. |
| Forward-proxy decryption | The device terminates client TLS and creates a separate TLS session to the origin. | Managed client outbound web traffic. | Requires client trust, adds processing cost and can break certificate-pinned or unusual applications. |
| Inbound inspection | The device decrypts inbound sessions to a service using the service's certificate/private key or an appropriate integration. | Published services where the firewall is authorised and designed to inspect inbound TLS. | Different key-management, architecture and legal considerations from outbound forward proxy. |
Do not confuse inbound inspection with forward-proxy decryption. They have different certificate ownership, traffic direction, threat models and deployment requirements.
4. Certificates and trust architecture
Use a dedicated inspection CA
Create or obtain a dedicated CA certificate for TLS inspection. In many enterprise designs it is an internal subordinate CA, or a vendor-generated private CA managed under change control. The private key is highly sensitive: anyone who obtains it may be able to impersonate inspected destinations to clients that trust it.
- Protect private keys and restrict administrative access.
- Document ownership, purpose, validity, renewal and revocation procedures.
- Distribute the public CA certificate only through managed configuration channels, such as MDM, Group Policy or a controlled certificate deployment process.
- Test trust on every relevant platform and browser; some applications use their own trust stores.
- Keep a planned rollover procedure so CA renewal does not become a site-wide outage.
- Do not install the inspection CA on unmanaged personal devices without explicit policy, consent and an approved process.
Certificate chain and validation
The client must trust the inspection CA and receive a generated certificate whose subject name matches the requested host. The inspection device must independently validate the origin certificate chain, validity period, hostname and revocation status according to the platform's capabilities and policy. Ensure the device can reach required OCSP/CRL endpoints or other validation services where used.
Inspecting systems also need accurate time, working DNS, and current trusted root/intermediate stores. Incorrect time can make valid certificates appear expired or not-yet-valid. Missing intermediates, private PKI sites and internal applications may need a separately designed trust configuration rather than a broad validation bypass.
Private PKI and internal services
Internal applications may use certificates issued by an enterprise CA that the firewall does not trust by default. Importing the relevant issuing CA into the firewall's trusted store may be appropriate after verifying its provenance and intended scope. Avoid adding broad trust for convenience without documenting the risk.
5. Policy design and rule order
Decryption policies are not simply a global setting. The effective outcome depends on rule order, matching criteria, no-decrypt rules, unsupported-session handling and the firewall's platform-specific behaviour. A rule that exists in an export does not prove that a particular connection is decrypted.
Build policy from explicit traffic groups
| Traffic group | Starting approach | Design notes |
|---|---|---|
| Managed user web browsing | Consider decrypting by default where lawful and technically supportable. | Apply threat, URL, file and data inspection profiles; document exceptions. |
| Servers and service accounts | Use a separate policy scope. | Limit outbound destinations; avoid assuming server-to-server TLS should be treated like user browsing. |
| Software updates and package repositories | Test vendor-supported behaviour before enabling decryption. | Certificate pinning, signed content and update clients may fail when intercepted. |
| Financial, healthcare or other sensitive services | Assess legal, privacy and contractual requirements. | Use narrowly scoped exclusions only where justified and approved. |
| Unmanaged/BYOD devices | Use a separate access and inspection policy. | Do not silently force enterprise CA trust onto personal devices; consider certificate inspection or an explicit opt-in design. |
| Guest networks | Keep policy simple and clearly disclosed. | Apply DNS, reputation, access and egress controls even where payload decryption is not used. |
Rule engineering principles
- Place narrow, documented exceptions before broader decryption rules when required by platform semantics.
- Use explicit source zones, destination scope, users or categories where practical; avoid accidental coverage of management, backup or critical service traffic.
- Name rules with owner, purpose or ticket reference where your standards allow.
- Log matches and failures sufficiently to prove policy operation, while avoiding unnecessary capture or retention of sensitive content.
- Review shadowed, duplicate, disabled and obsolete rules.
- Keep the decryption decision separate from security-profile policy where the platform supports it, and verify the complete effective policy.
Vendor behaviour differs. Confirm how the platform evaluates rule order, application identification, URL categories, unknown traffic, QUIC, invalid certificates and sessions that cannot be decrypted. Use vendor documentation for the exact release in production.
6. Exclusions, privacy and governance
Decryption can expose credentials, personal communications, health or financial information and confidential business data to the inspection device and potentially to administrators or logging systems. Treat this as a security and governance decision, not merely a firewall tuning task.
Build an exception process
- Record the application, destination, owner and business purpose.
- Describe the observed failure or the legal/privacy reason for exclusion.
- Assess the residual risk and compensating controls.
- Limit the exception to the smallest possible source, destination, category or application scope.
- Assign an approver, review date and expiry where practical.
- Test the exception and confirm that other security controls still apply.
Avoid broad bypasses such as excluding an entire cloud provider, all certificate errors, all unknown applications or all traffic from a large user network unless the risk has been explicitly assessed. Large shared hosting/CDN ranges can contain unrelated services, so IP-based exclusions may be much broader than intended.
Governance questions
- Have employees and users been given appropriate notice of inspection?
- Have legal, privacy, HR, security and relevant service owners reviewed the policy?
- Are sensitive categories excluded where required, and are exceptions auditable?
- Who can view decrypted traffic, security logs or captured content?
- What is retained, for how long, and who can export it?
- Does the design comply with local law, contractual requirements and organisational policy?
This guide is engineering guidance, not legal advice. Requirements depend on jurisdiction, workforce arrangements, sector and the specific data being processed.
7. Protocols and application compatibility
TLS versions and cipher suites
Inspectors must support the TLS versions and cryptographic options used by clients and servers. Prefer modern, supported TLS configurations and avoid weakening security globally to accommodate one legacy application. If a required application uses an unsupported protocol, assess whether it can be upgraded, isolated or handled by a narrow exception.
Certificate pinning and mutual TLS
Some applications pin a certificate or public key and reject a substitute certificate even when the inspection CA is trusted by the operating system. Mutual TLS (mTLS) also changes the handshake: the client may need to present a certificate to the origin, and a proxy can interfere with the end-to-end identity relationship. These applications commonly need a vendor-supported inspection method or a narrowly scoped bypass.
QUIC and HTTP/3
HTTP/3 commonly runs over QUIC using UDP/443. Depending on the product, QUIC may be inspected, blocked to encourage fallback to TCP-based HTTPS, or handled differently. Verify the firewall's actual behaviour and application impact rather than assuming TCP/443 policy covers UDP/443. If blocking QUIC, test performance and compatibility, especially with browsers and cloud applications.
Encrypted Client Hello (ECH)
ECH can encrypt the ClientHello information that historically exposed the requested hostname. Support and visibility depend on clients, servers, DNS configuration and inspection products. Do not rely on hostname metadata being universally visible; test the current environment and understand the fallback behaviour.
Unsupported or invalid certificates
Define what happens when the upstream certificate is expired, revoked, untrusted, mismatched or otherwise invalid. A secure policy normally blocks or warns according to risk and business requirements rather than silently bypassing validation. Any exception should be specific, approved and temporary where possible.
8. Performance, sizing and high availability
Decryption is computationally expensive compared with simply forwarding encrypted sessions. Advertised firewall throughput measured without decryption may not represent throughput with TLS inspection, threat prevention, URL filtering, logging and file scanning all enabled.
Capacity planning should account for:
- Concurrent sessions and new TLS sessions per second.
- Actual encrypted throughput at peak periods, not just average WAN utilisation.
- TLS versions, key exchanges, session resumption and client/server behaviour.
- Enabled inspection profiles, file sizes and logging volume.
- Latency budgets for interactive applications and voice/video traffic.
- HA failover capacity, session re-establishment and certificate/CA consistency across peers.
- Growth, software upgrades and vendor performance guidance for the exact appliance and feature set.
Use vendor performance data for the intended feature combination, then validate with representative traffic. A lab test with one browser and a speed-test website is not enough to size an enterprise deployment. Observe CPU, memory, dataplane utilisation, session rates, drops, latency, TLS errors and user-experience telemetry during rollout.
9. A controlled deployment method
- Discover. Identify user groups, device types, critical applications, cloud services, privacy constraints and existing exceptions.
- Baseline. Record current throughput, latency, TLS failures, application performance and firewall resource utilisation.
- Design the CA. Decide how the inspection CA is generated, protected, distributed, renewed and revoked.
- Build a limited policy. Start with a pilot group and a narrow set of traffic. Create explicit no-decrypt exceptions with owners and reasons.
- Deploy client trust. Distribute the CA through approved device-management channels. Verify trust across operating systems, browsers and application-specific stores.
- Enable inspection profiles. Define what should happen for malware, risky files, URL categories, invalid certificates and unsupported sessions.
- Test representative applications. Include SaaS, identity providers, software updates, package managers, video meetings, line-of-business applications, internal PKI services and mTLS applications.
- Expand gradually. Increase pilot scope in stages, with clear rollback criteria and a named decision-maker.
- Monitor and tune. Review decryption logs, security events, performance and helpdesk reports. Make narrow exceptions rather than disabling inspection globally.
- Operationalise. Document ownership, renewal, exception reviews, upgrades, HA behaviour and incident response for the inspection infrastructure.
10. Troubleshooting TLS inspection
| Symptom | Likely causes | Evidence and next step |
|---|---|---|
| Browser reports certificate authority not trusted | Inspection CA missing, incorrect chain or application-specific trust store. | Inspect the presented chain on the affected client; verify CA deployment and the exact root/intermediate certificates. |
| Only one application fails | Certificate pinning, mTLS, unsupported TLS behaviour, hard-coded trust store or protocol differences. | Compare with a known-good path, check vendor support and identify the matching decryption rule before considering a narrow bypass. |
| Many sites fail certificate validation | Incorrect firewall time, expired inspection CA, upstream validation problem or missing trust chain. | Check time/NTP, CA validity, device trust stores, OCSP/CRL reachability and decryption logs. |
| Website works only when decryption is disabled | Inspection compatibility issue, upstream certificate validation or security profile action. | Inspect logs and test a limited rule with the same client/destination. Do not make a global no-decrypt rule the first fix. |
| Some HTTPS traffic is not inspected | Rule mismatch, earlier no-decrypt rule, unsupported protocol, QUIC, encrypted hostname metadata or bypass path. | Verify session logs, rule order, source/destination zones, UDP/443 handling and product-specific limitations. |
| Performance degrades after enabling inspection | Capacity exhaustion, TLS session rate, expensive security profiles, logging or HA asymmetry. | Compare before/after resource and session metrics; narrow the test, check vendor sizing guidance and tune only after evidence is collected. |
| Internal HTTPS services fail | Private CA not trusted by inspector, internal DNS mismatch or application-specific TLS requirements. | Validate the origin certificate chain from the firewall's perspective and verify the exact destination hostname and route. |
| Users see repeated authentication prompts or broken sign-in | Identity provider flow, cookies, token exchange, certificate pinning or cross-domain dependencies affected by inspection. | Trace the full authentication sequence and test all dependent domains before changing policy. |
Capture evidence from both sides of the inspection device when possible. A client-side capture shows the client-to-proxy TLS session; a server-side capture shows the proxy-to-origin session. They are separate handshakes, so compare the two independently. Avoid collecting decrypted payloads unless necessary, authorised and securely handled.
11. Validation checklist
12. Operational ownership
TLS inspection should have a named service owner and repeatable lifecycle. Include the inspection CA in certificate management; include rule changes in firewall change control; include resource and failure signals in monitoring; and include inspection failures in incident response. A CA expiry, bad policy push or failed HA synchronisation can affect a large percentage of web access at once.
Review bypasses regularly. Applications change, exceptions accumulate, and a one-off compatibility fix can quietly become a permanent visibility gap. Confirm each exception is still required and that its scope has not expanded through address or category changes.
Key takeaways
- SSL decryption is TLS proxying that creates two separate encrypted sessions and allows inspection of traffic between them.
- It depends on trusted client CA distribution, secure key management and correct upstream certificate validation.
- Policy scope and rule order determine which sessions are actually decrypted.
- Compatibility, privacy and performance must be engineered and tested, not treated as afterthoughts.
- Use a phased rollout, narrow exclusions, measurable validation and ongoing operational ownership.
For related engineering work, see the PKI Fundamentals guide, Firewalls, NAT & ACLs, the Firewall Policy Analyzer, and the HTTPS Content Inspection Test.