Why decryption exists — the one number that ends the debate
Google's transparency report puts encrypted web traffic at ~95%. If your firewall can only inspect cleartext, you're inspecting roughly the 5% that nobody hides malware in. Every Anti-Virus, Anti-Spyware, URL Filtering, File Blocking and WildFire signature is matched against the payload — and the payload is only visible after the firewall decrypts it.
One sentence to memorise: "Decrypt the unknown, never the regulated." Outbound traffic to unknown sites? Decrypt. Banking, healthcare, government sites? Always No-Decrypt — for legal reasons, not technical ones.
Threat profiles (AV, AS, Vuln, WildFire) only see cleartext. No decrypt = no inspection = malware passes inside an HTTPS tunnel undetected.
Firewall acts as a man-in-the-middle for users going out. Re-signs the server's cert with your internal CA. Client sees firewall's cert (trusted via GPO).
Firewall holds the server's real private key. No re-signing. Decrypts inbound flows to your published server so threat profiles can scan exploit traffic.
Skip decryption — for regulated content (financial, health) or pinned mobile apps. Still attaches a no-decryption profile to validate the server cert without breaking the session.
① SSL Forward Proxy — the 80% case
Sneha at Infosys opens https://news.example.com. She expects a clean TLS session to the server. The firewall has a different plan — it intercepts the handshake, presents its own certificate to her browser, and runs a separate TLS session to the real server. Two half-sessions, one logical flow, fully inspectable in the middle.
▶ Watch the Forward-Proxy handshake transform
Click Play. Each stage lights up as the firewall splits the TLS session.
news.example.com
news → not in No-Decrypt list → Decryption Profile applies, mode = SSL Forward Proxy.
news.example.com — fetches the real server cert, validates it (OCSP / CRL / cert chain).
news.example.com, signed by the Forward Trust CA — installed in Sneha's browser via GPO.
The two certificates that make Forward Proxy work
Used when the real server cert is valid. Firewall signs the fake cert with this CA. Pushed to every corporate endpoint via GPO so browsers don't show warnings.
Used when the real server cert is broken (expired, self-signed, wrong CN). Firewall signs the fake cert with THIS CA — which is NOT in the trust store. Browser shows a warning. User sees the truth.
So the firewall can tell the user when the upstream cert is bad. If it always used Forward Trust, even broken server certs would look fine to the user — a silent security regression.
The Forward Trust CA must be in every device's Trusted Root store. Done via GPO on Windows, MDM on macOS / iOS / Android. Forget BYOD? You get a flood of cert warnings.
Sneha at Infosys configures SSL Forward Proxy. Browsers on corporate laptops show no certificate warnings, but personal phones (BYOD) on the Wi-Fi all get warnings on every site. What's the most likely cause?
② SSL Inbound Inspection — protect your published server
Rahul at TCS publishes https://portal.tcs.com on a public IP. Internet users hit the firewall, firewall decrypts using a copy of the server's real private key, inspects the cleartext for exploit attempts, then re-encrypts to the backend. No fake cert, no warnings — because the firewall is using the real server's key, not generating new ones.
▶ Inbound Inspection — no re-signing
External user → company's public web app. Firewall holds the server's private key.
portal.tcs.com (public IP, behind firewall).
portal.tcs.com — SQLi, XSS, RCE attempts.
1. Doesn't work with (EC)DHE key exchange on PAN-OS < 10.0 (forward-secrecy ciphers don't expose the session key to anyone who only has the RSA private key). PAN-OS 10.0+ supports ephemeral key exchange via a key-exchange proxy on the dataplane. 2. No HA-sync of decrypted sessions — failover means re-handshake. 3. Doesn't work with client-cert authentication (mutual TLS).
Priya at HCL is setting up SSL Inbound Inspection for https://crm.hcl.com. Which file MUST she load onto the PAN-OS device — and which file should she NEVER load anywhere except this firewall?
③ No-Decrypt — the legal half of decryption
Karthik at Flipkart hits https://hdfcbank.com on the corporate Wi-Fi. The firewall sees the SNI, looks up the URL category — financial-services. The No-Decrypt rule fires before the Forward Proxy rule could, the session passes through encrypted. Why? Two reasons: legal exposure (storing decrypted banking session data is a regulator's nightmare) and breakage (banks frequently pin certs).
▶ Decrypt-or-Bypass decision tree
Pick a destination — watch how the firewall decides decrypt vs No-Decrypt.
financial-services? → YES → action = No Decrypt → session passes through encrypted.
The four categories most enterprises No-Decrypt by default
Banks, payment portals, stock trading. Storing decrypted PAN/CVV/account data triggers PCI-DSS, RBI, and SEBI exposure. Universal No-Decrypt.
HIPAA / DPDP Act (India 2023) treat health records as sensitive personal data. Decrypting = liable for any leak. Always bypass.
gov.in, IRS, tax portals. Often pinned certs; decrypting either breaks the site or invites a regulator's audit. Bypass.
Palo Alto ships a curated list of known-pinned-cert apps in content updates (Zoom, Teams, banking apps, MS Updates). Refreshed weekly.
Aditya at Wipro enables decryption for the whole company. Two days later, mobile-banking apps stop working on corporate Wi-Fi. Errors say "certificate not trusted". What's the precise fix?
④ TLS 1.3, pinning, and the "site broke after decryption" playbook
TLS 1.3 hides parts of the handshake (the certificate exchange) inside the encrypted portion of the conversation. The firewall can still decrypt TLS 1.3, but a couple of TLS-1.2-era tricks no longer work — including auto-bypass based on cert info, because that cert info now arrives encrypted. Cert-pinning apps add their own ceiling.
▶ 5-Step "decryption broke my site" diagnosis
User reports a site / app stopped working after decryption rollout. Run this ladder in order.
Monitor → Logs → Decryption. Look for the destination → error code. decryption-fail-unsupported-mode? untrusted-issuer? Code tells you 80% of the story.
test url <domain>. If the category is wrong (PAN-DB miscategorised the site as news instead of health-and-medicine), your No-Decrypt rule never fires.
show session id <N> — decrypted field should now show False.
show session id 12345 | match decrypted
decrypted: True ssl-decrypt-mirror-port:
Rule A (top): Decryption rule for mobile-app categories with Max-Version = TLS 1.2 in the profile. Forces those apps to TLS 1.2 (where the firewall can still see cert info pre-decrypt to auto-bypass pinned ones). Rule B (below): Generic decryption rule with TLS 1.3 enabled for the rest of the traffic. Per Palo Alto's TLS 1.3 best-practice doc, this split lets you keep modern TLS for browsers while preserving the auto-bypass safety net for mobile apps.
Sneha enables TLS 1.3 in the decryption profile. Suddenly several mobile-only apps that worked yesterday stop working today. Which is the cleanest fix per Palo Alto's published best practice?
🤖 Ask the AI Tutor
Tap any question — instant context-aware answer. No login, no waiting.
Pre-curated answers from PAN-OS docs + LIVECommunity. For complex prod issues, paste your decryption log + show session id output into chat.techclick.in.
📝 Wrap-up — six more
You've already answered 4 inline. Six left. 70% (7 of 10) total marks the lesson complete on your profile. Tap Submit all answers at the end.
📚 Sources
- Palo Alto Docs — SSL Forward Proxy & SSL Inbound Inspection (PAN-OS 11.x). docs.paloaltonetworks.com
- Palo Alto Docs — Decryption Profiles & Decryption Overview. docs.paloaltonetworks.com
- Palo Alto Docs — TLSv1.3 SSL Decryption Support (PAN-OS 10.1/11.0). docs.paloaltonetworks.com
- Palo Alto Docs — Predefined Decryption Exclusions & Troubleshoot Pinned Certificates. docs.paloaltonetworks.com
- Palo Alto Best Practices — Deploy SSL Decryption Using Best Practices. docs.paloaltonetworks.com
- LIVECommunity — Usage Difference between SSL Forward Proxy and Inbound Inspection (thread 284409); TLS 1.3 is Coming (thread 232981). live.paloaltonetworks.com
- Palo Alto Docs — Configure Decryption Port Mirroring & Decryption Mirroring. docs.paloaltonetworks.com
What's next?
Decryption depends entirely on certificates — Forward Trust, Forward Untrust, the server cert for Inbound Inspection. Next blog opens up the certificate & PKI side of PAN-OS: which cert object belongs where, OCSP / CRL, certificate renewals without outage.