Source: https://swgbar.com/en/guides/enterprise-swg-https-inspection-macos/
Language: en

# Enterprise SWG & MDM HTTPS inspection on a Mac

Understand how Zscaler, Netskope, and Cloudflare Gateway inspect HTTPS/SSL on MDM-managed Macs, why browsers show a lock icon, and how to check each domain.

SWG bar · Updated November 18, 2026

On a company-managed Mac, web traffic frequently passes through a **Secure Web Gateway (SWG)**—such as **Zscaler**, **Netskope**, or **Cloudflare Gateway**—to enforce security and access policies. Depending on policy, the gateway may simply forward encrypted connections for one domain while performing full **HTTPS/SSL inspection (break-and-inspect)** on another.

Because mobile device management (**MDM**) can install an organization’s root certificate authority (CA) silently into **macOS Keychain**, Safari and Chrome continue showing a normal lock icon even when TLS is terminated and re-encrypted by the gateway.

## Why the browser padlock looks the same

On an unmanaged Mac, if an intermediary replaces a website’s TLS certificate, the browser displays a prominent security warning because the signing CA is unknown. On an MDM-enrolled Mac, IT deploys a trusted root CA profile to the system trust store:

1.  Your Mac connects to an HTTPS destination through the SWG agent or network tunnel.
2.  For inspected categories or domains, the SWG decrypts the payload, applies policy checks, and presents a newly generated certificate signed by your company’s root CA.
3.  macOS evaluates the chain, finds the MDM-trusted root CA in Keychain, and reports a valid connection to the browser.

As a result, looking at the address bar padlock alone cannot tell you whether a domain used the origin’s public certificate or a locally trusted enterprise root.

## Three different connection states on a managed Mac

When auditing domains on macOS, separate **routing** from **HTTPS decryption**:

| State | Certificate chain observed | Traffic path |
| --- | --- | --- |
| **HTTPS / SSL break-and-inspect** | Signed by a locally trusted enterprise or inspection root CA rather than a public root CA. | Terminated, decrypted, and re-encrypted by the SWG. |
| **Gateway forwarding / TLS exception** | Public certificate chain issued by a public CA (such as Let’s Encrypt, DigiCert, or Google Trust Services). | Still traverses the SWG or corporate network, without TLS decryption. |
| **Per-domain SWG bypass** | Public certificate chain from the destination (when no other intercepting proxy is present). | Selected hostname uses a direct route outside gateway decryption on authorized networks. |

Read [SWG bypass vs. TLS inspection exception](<https://swgbar.com/en/guides/swg-bypass-vs-tls-exception/>) for a full breakdown of why seeing a public certificate chain alone does not prove traffic bypassed the gateway.

## Check which domains your SWG decrypts on macOS

1.  [Install SWG bar](<https://swgbar.com/en/install/>) on macOS 14 or later (Apple silicon) and open it from the menu bar.
2.  Check **Overview** to see the percentage of observed domains classified as `Confirmed` or `Suspected` inspection and which root certificates are signing them.
3.  Open **Domains** to inspect individual hostnames, or install the [Chrome companion extension](<https://swgbar.com/en/chrome-extension/>) to view recorded domain status in your browser toolbar as you browse.
4.  Open **Certificates** (or run `swgbar certificates list` via the [CLI](<https://swgbar.com/en/cli/>)) to inspect the issuer, validity window, SHA-256 fingerprint, and full list of observed domains tied to each local root CA.

![SWG bar certificate view showing root certificate clusters and trust details on macOS; illustrative preview.](<https://swgbar.com/optimized/panel-native-certificates-four-tabs-720.webp>)

_Illustrative preview of the SWG bar Certificates view on macOS._

## Common symptoms and next steps

*   **Browser works, but Terminal or AI tools fail (`CERTIFICATE_VERIFY_FAILED`)**: Tools such as `git`, `npm`, `Python`, `Claude Code`, and `Cursor` often ignore macOS Keychain and reject enterprise-signed certificates. Follow [Fix SWG TLS & SSL certificate errors in CLI and AI tools on a Mac](<https://swgbar.com/en/guides/swg-tls-certificate-errors-macos/>).
*   **Need to bypass SWG decryption for a specific hostname**: On networks you administer or are authorized to configure, follow [How to bypass SWG on a Mac](<https://swgbar.com/en/guides/how-to-bypass-swg/>) to enable hostname-level bypass from the menu bar, [CLI](<https://swgbar.com/en/cli/>), or [MCP](<https://swgbar.com/en/mcp/>).
*   **Understand verification boundaries**: SWG bar evaluates separate IPv4 TCP probes on macOS and stores all detection records locally on your Mac. Read [how to detect HTTPS & SSL inspection](<https://swgbar.com/en/guides/detect-https-inspection/>) and [how SWG bar works](<https://swgbar.com/en/how-it-works/>) for methodology and scope.

## Keep reading

*   [How to Bypass SWG on a Mac (One-Click Domain Bypass & CLI)](<https://swgbar.com/en/guides/how-to-bypass-swg/>)
*   [How to Bypass SSL Inspection on a Mac (Corporate SWG & Per-Domain Fix)](<https://swgbar.com/en/guides/bypass-ssl-inspection-mac/>)
*   [How to Bypass HTTPS & TLS Inspection on macOS (Break-and-Inspect Guide)](<https://swgbar.com/en/guides/bypass-https-tls-inspection-mac/>)
*   [How to Bypass Corporate Proxy & SWG SSL Inspection on a Mac](<https://swgbar.com/en/guides/bypass-corporate-proxy-ssl-inspection-mac/>)
*   [How to tell if your Mac is intercepted by an SWG (HTTPS & SSL inspection)](<https://swgbar.com/en/guides/detect-https-inspection/>)
*   [How to Check if Your Employer or Work Mac Is Intercepting HTTPS (SSL Inspection)](<https://swgbar.com/en/guides/check-if-work-mac-intercepting-https/>)
*   [SSL Inspection Checker for Mac: Menu Bar Tool to Detect HTTPS Interception](<https://swgbar.com/en/guides/ssl-inspection-checker-mac/>)
*   [Zscaler SSL Inspection on Mac: How to Check & Bypass per Domain](<https://swgbar.com/en/guides/zscaler-ssl-inspection-bypass-mac/>)
*   [Netskope SSL Inspection on Mac: Check Decryption & Bypass per Domain](<https://swgbar.com/en/guides/netskope-ssl-inspection-bypass-mac/>)
*   [Cloudflare WARP & Zero Trust TLS Inspection on Mac: Detect & Bypass](<https://swgbar.com/en/guides/cloudflare-warp-tls-inspection-mac/>)
*   [Confirmed vs. Suspected HTTPS inspection in SWG bar](<https://swgbar.com/en/guides/confirmed-vs-suspected-https-inspection/>)
*   [Inspect MITM root certificates & issuers in SWG bar](<https://swgbar.com/en/guides/inspect-mitm-root-certificates-macos/>)
*   [SWG bypass vs. TLS inspection exception (break and inspect)](<https://swgbar.com/en/guides/swg-bypass-vs-tls-exception/>)
*   [Bypass SWG for multi-domain web apps, SSO, CDNs & APIs on Mac](<https://swgbar.com/en/guides/multi-domain-sso-api-cdn-swg-bypass/>)
*   [Fix SWG bypass Recovering, Paused & connection errors on Mac](<https://swgbar.com/en/guides/troubleshoot-swg-bypass-recovering-paused-macos/>)
*   [macOS VPN virtual interfaces vs. SWG HTTPS inspection](<https://swgbar.com/en/guides/macos-vpn-virtual-interface-vs-swg-inspection/>)
*   [Why certificate-pinned apps & mTLS break under SWG inspection](<https://swgbar.com/en/guides/certificate-pinning-mtls-swg-inspection-macos/>)
*   [Fix SWG TLS & SSL certificate errors in CLI and AI tools on a Mac](<https://swgbar.com/en/guides/swg-tls-certificate-errors-macos/>)
*   [Homebrew, Docker, Python & Node.js CA trust behind an SWG on Mac](<https://swgbar.com/en/guides/homebrew-docker-python-node-ca-trust-swg-macos/>)
*   [Fix Claude Code & Cursor 'unable to get local issuer certificate' on Mac (SWG & MCP)](<https://swgbar.com/en/guides/ai-coding-agents-claude-code-cursor-swg-macos/>)
*   [Verify TLS certificates with openssl & security verify-cert on Mac](<https://swgbar.com/en/guides/verify-tls-certificates-openssl-security-verify-cert-macos/>)
*   [SWG bar permissions, local privacy & TLS probe limits](<https://swgbar.com/en/guides/macos-network-extension-privacy-probe-limits/>)
*   [How SWG bar checks HTTPS inspection](<https://swgbar.com/en/how-it-works/>)
*   [Download & install SWG bar for Mac (macOS 14+)](<https://swgbar.com/en/install/>)
*   [Chrome Extension to Detect SSL & HTTPS Inspection (SWG Bar Companion)](<https://swgbar.com/en/chrome-extension/>)
*   [SWG bar CLI Guide](<https://swgbar.com/en/cli/>)
*   [SWG bar MCP Guide](<https://swgbar.com/en/mcp/>)
*   [SWG bar release information](<https://swgbar.com/en/releases/>)
*   [About SWG bar](<https://swgbar.com/en/about/>)
