Source: https://swgbar.com/en/guides/fortinet-forticlient-ssl-inspection-bypass-mac/
Language: en

# Fortinet FortiClient & FortiGate (Fortinet\_CA\_SSL) Inspection on Mac: Check & Bypass

Check whether Fortinet FortiGate or FortiClient (Fortinet\_CA\_SSL) is performing SSL Deep Inspection on your Mac vs. Certificate Inspection only, and compare per-domain SWG bypass, FortiGate exemptions, and CA trust.

SWG bar · Updated November 24, 2026

To check whether **Fortinet FortiGate / FortiProxy / FortiClient** is actively decrypting HTTPS traffic on your Mac, open **SWG bar → Overview** (or run `swgbar overview`) and look for a **Domain interception ratio** above `0%` with **`Fortinet_CA_SSL`** (or your organization’s custom FortiGate Deep Inspection CA) listed under **MITM certificates**. To bypass Fortinet SSL Deep Inspection for a single broken hostname on an authorized Mac, open **SWG bar → Domains**, select the hostname, and enable **Bypass SWG** (`swgbar bypass enable <domain>`).

Unlike purely cloud-hosted gateways, Fortinet environments on macOS commonly combine **FortiClient VPN / ZTNA / SASE** with either **SSL Certificate Inspection** (metadata only) or full **SSL Deep Inspection** (HTTPS break-and-inspect). Knowing which mode is active saves hours of debugging broken developer tools.

## 1\. Distinguish FortiGate Certificate Inspection from SSL Deep Inspection

*   **SSL Certificate Inspection (no HTTPS decryption)**: FortiGate reads only the TLS SNI and server certificate header to enforce URL filtering, leaving the origin server’s public certificate chain intact. SWG bar shows **Public trust path**.
*   **SSL Deep Inspection (`Fortinet_CA_SSL` — active HTTPS decryption)**: FortiGate or FortiSASE terminates TLS, inspects decrypted payloads, and re-signs responses using `Fortinet_CA_SSL` (or a corporate subordinate CA) pushed to macOS System Keychain via MDM. SWG bar flags affected domains as **Confirmed** intercepted.

Verify any hostname from Terminal or with [SWG bar](<https://swgbar.com/en/install/>):

```
openssl s_client -connect api.github.com:443 -servername api.github.com </dev/null 2>/dev/null | openssl x509 -noout -issuer -subject
security find-certificate -a -c "Fortinet" /Library/Keychains/System.keychain | grep -E "alis|labl"
```

If `issuer=` reports `Fortinet_CA_SSL` or your organization’s FortiGate inspection CA instead of a public CA (DigiCert, Let’s Encrypt, Google Trust Services), Deep Inspection is active. You can also paste the output into our free [Work Mac SSL Self-Check](<https://swgbar.com/en/tools/work-mac-ssl-check/>) or [TLS Error Decoder](<https://swgbar.com/en/tools/tls-error-decoder/>).

## 2\. Why killing FortiClient or disabling macOS proxy settings fails

*   **FortiClient macOS System Extension & VPN tunnel**: On managed Macs, FortiClient enforces routing through its `utun` / NetworkExtension filter; unchecking Wi-Fi HTTP/HTTPS proxy settings does not stop gateway-level Deep Inspection.
*   **Deleting `Fortinet_CA_SSL` from Keychain breaks browsing**: Untrusting the CA does not turn off FortiGate Deep Inspection—browsers immediately display `NET::ERR_CERT_AUTHORITY_INVALID` until MDM re-installs the certificate profile.
*   **Disconnecting FortiClient drops internal access**: Stopping the FortiClient VPN/SASE tunnel cuts off private Git servers, internal dashboards, and corporate DNS.

## 3\. Three practical ways to handle Fortinet SSL Deep Inspection on macOS

| Approach | Who controls it | Keeps FortiClient VPN & ZTNA running? | Best use case |
| --- | --- | --- | --- |
| **Per-domain SWG bypass (`SWG bar`)** | Local Mac user (on authorized networks) | Yes — routes only the selected hostname over your Mac’s physical `Hardware` IPv4 interface | Immediate hostname-level relief for certificate-pinned apps, mTLS, WebSockets, or broken APIs without disconnecting FortiClient ([How to bypass SWG on a Mac](<https://swgbar.com/en/guides/how-to-bypass-swg/>)) |
| **FortiGate / FortiSASE Exemption (`SSL/SSH Inspection → Exempt`)** | Enterprise IT / Security team | Yes | Permanent org-wide exclusion under **Security Profiles → SSL/SSH Inspection → Exempt from SSL Inspection** ([SWG bypass vs. TLS exception](<https://swgbar.com/en/guides/swg-bypass-vs-tls-exception/>)) |
| **Export & trust `Fortinet_CA_SSL` in CLI runtimes** | Local developer | Yes (traffic remains inspected) | Policy requires Deep Inspection and `git`, `npm`, `Python`, `Docker`, `Claude Code`, or `Cursor` fail with `unable to get local issuer certificate` |

## 4\. Enable per-domain bypass or trust `Fortinet_CA_SSL` in CLI tools

### Option A: Per-domain bypass with SWG bar (when authorized)

1.  Open **SWG bar → Domains**, select the exact failing hostname (see [multi-domain SSO, API, and CDN bypass](<https://swgbar.com/en/guides/multi-domain-sso-api-cdn-swg-bypass/>) if login and API domains differ), and click **Enable** next to **Bypass SWG**—or run `swgbar bypass enable <domain>`.
2.  Wait for **Bypassing**, restart the affected tab or CLI command, and verify the public origin certificate with `swgbar probe <domain>`.
3.  If your corporate firewall blocks direct outbound `Hardware` IPv4 traffic, run `swgbar bypass disable <domain>` to restore normal FortiClient routing immediately.

### Option B: Configure macOS CLI & AI tools to trust `Fortinet_CA_SSL`

```
mkdir -p "$HOME/.certs"
security find-certificate -c "Fortinet" -p /Library/Keychains/System.keychain > "$HOME/.certs/fortinet-ca-ssl.pem"

export NODE_EXTRA_CA_CERTS="$HOME/.certs/fortinet-ca-ssl.pem"
export SSL_CERT_FILE="$HOME/.certs/fortinet-ca-ssl.pem"
export REQUESTS_CA_BUNDLE="$HOME/.certs/fortinet-ca-ssl.pem"
export CURL_CA_BUNDLE="$HOME/.certs/fortinet-ca-ssl.pem"
git config --global http.sslCAInfo "$HOME/.certs/fortinet-ca-ssl.pem"
```

For runtime-specific recipes, see [Fix Git & npm SSL certificate errors](<https://swgbar.com/en/guides/fix-git-npm-unable-to-get-local-issuer-certificate-mac/>) and [Fix Python & Docker SSL errors on Mac](<https://swgbar.com/en/guides/fix-python-docker-certificate-verify-failed-x509-mac/>).

macOS 14+ · Apple Silicon

## Stop guessing which domains your company SWG decrypts.

SWG bar checks HTTPS inspection right from your Mac’s menu bar and lets you bypass broken domains in one click—while keeping corporate VPN and SSO running.

[Start a 14-day trial for $0](<https://swgbar.com/releases/2.4.12/SWGBar-macOS-arm64.pkg>) [Decode a TLS error](<https://swgbar.com/en/tools/tls-error-decoder/>) [Free Chrome extension](<https://chromewebstore.google.com/detail/bidclnlfneemkkdeanlcbpjfdalelmbf>)

## Keep reading

*   [How to Bypass SWG on a Mac (Zscaler, Cloudflare, Netskope — 1-Click & 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 Check if Your Mac Is Intercepted by an SWG (Zscaler, Netskope & 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/>)
*   [Can My Employer See My Browsing History, Incognito & Personal Accounts on a Work Mac?](<https://swgbar.com/en/guides/can-employer-see-browsing-history-incognito-work-mac/>)
*   [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/>)
*   [How to Turn Off or Bypass Zscaler on a Mac (When Tamper Protection Locks It)](<https://swgbar.com/en/guides/disable-turn-off-zscaler-on-mac/>)
*   [Cloudflare WARP & Zero Trust TLS Inspection on Mac: Detect & Bypass](<https://swgbar.com/en/guides/cloudflare-warp-tls-inspection-mac/>)
*   [Netskope SSL Inspection on Mac: Check Decryption & Bypass per Domain](<https://swgbar.com/en/guides/netskope-ssl-inspection-bypass-mac/>)
*   [Cisco Umbrella SSL Inspection on Mac: Check Decryption & Bypass per Domain](<https://swgbar.com/en/guides/cisco-umbrella-ssl-inspection-bypass-mac/>)
*   [Palo Alto GlobalProtect & Prisma Access SSL Decryption on Mac: Check & Bypass](<https://swgbar.com/en/guides/palo-alto-globalprotect-prisma-ssl-decryption-mac/>)
*   [Fix Git & npm 'unable to get local issuer certificate' / SELF\_SIGNED\_CERT\_IN\_CHAIN on Mac](<https://swgbar.com/en/guides/fix-git-npm-unable-to-get-local-issuer-certificate-mac/>)
*   [Fix Python 'CERTIFICATE\_VERIFY\_FAILED' & Docker 'x509: certificate signed by unknown authority' on Mac](<https://swgbar.com/en/guides/fix-python-docker-certificate-verify-failed-x509-mac/>)
*   [Fix GitHub Copilot, OpenAI Codex & Gemini CLI SSL Certificate Errors on Mac (Zscaler / SWG)](<https://swgbar.com/en/guides/fix-codex-copilot-gemini-cli-ssl-certificate-error-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/>)
*   [Enterprise SWG & MDM HTTPS inspection on a Mac](<https://swgbar.com/en/guides/enterprise-swg-https-inspection-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/>)
