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

# Netskope SSL Inspection on Mac: Check Decryption & Bypass per Domain

Check if Netskope Client is decrypting HTTPS on your Mac (\*.goskope.com CA), compare per-domain SWG bar bypass vs. Do Not Decrypt policy, and configure nscacert\_combined.pem.

SWG bar · Updated November 19, 2026

To check whether **Netskope Client** is performing SSL/TLS decryption on your Mac, open **SWG bar → Overview** (or run `swgbar overview`) and verify whether the **Domain interception ratio** is above `0%` with a **Netskope** or `*.goskope.com` tenant certificate under **MITM certificates**. To bypass Netskope SSL inspection for a specific hostname on an authorized Mac, open **SWG bar → Domains**, select the hostname, and click **Enable** beside **Bypass SWG** (or run `swgbar bypass enable <domain>`).

Netskope Secure Web Gateway is widely deployed on enterprise macOS fleets using a `NetworkExtension` steering client and a tenant-specific intermediate CA. Because the Netskope root CA is pushed via MDM into macOS Keychain, browsers display normal green/valid security indicators while CLI runtimes (`pip`, `npm`, `AWS CLI`, `git`, `Docker`, `Claude Code`) and certificate-pinned desktop apps fail with `CERTIFICATE_VERIFY_FAILED` or `UNABLE_TO_GET_ISSUER_CERT_LOCALLY`.

## 1\. Verify whether Netskope is decrypting a domain on your Mac

Check both system-wide interception and individual hostnames:

*   **Menu bar & Chrome visibility with SWG bar**: [Install SWG bar](<https://swgbar.com/en/install/>) (macOS 14+ Apple silicon, 14-use-day free trial) and browse or run your failing command. Open **SWG bar → Domains** or run `swgbar domains list --status confirmed` to list every hostname whose TLS certificate was re-signed by your Netskope tenant CA (commonly formatted like `ca.<tenant>.goskope.com` or your company’s custom CA). Pair it with the free [SWG bar Chrome extension](<https://swgbar.com/en/chrome-extension/>) to see status badges in your browser toolbar.
*   **Check Netskope certificates and live issuer in Terminal**:

```
# Check whether a Netskope CA is installed in the macOS System Keychain
security find-certificate -c "Netskope" /Library/Keychains/System.keychain

# Inspect the live certificate issuer returned for a specific hostname
openssl s_client -connect registry.npmjs.org:443 -servername registry.npmjs.org </dev/null 2>/dev/null | openssl x509 -noout -issuer -subject
```

Remember that Netskope policies often decrypt some SaaS or code-hosting domains while steering others untouched; always test the exact hostname that is failing.

## 2\. Why quitting Netskope Client usually does not work

In managed environments with Netskope’s _Protect Client configuration and resources_ tamper-protection policy enabled, the **Disable** option in the Netskope menu bar icon is disabled or password-locked, and force-unloading the daemon breaks system network routing. Clearing macOS Wi-Fi proxy fields also does nothing because Netskope steers traffic at the macOS `NetworkExtension` layer.

## 3\. Choose the right Netskope fix on macOS

| Method | Stops Netskope decryption? | Requires Netskope Tenant Admin? | Best when |
| --- | --- | --- | --- |
| **Per-domain SWG bypass (`SWG bar`)** | Yes, for selected hostnames over physical `Hardware` IPv4 | No (local control on an authorized Mac) | A pinned app, WebSocket, or dev endpoint fails under Netskope decryption and a direct IPv4 path exists ([How to bypass SWG on a Mac](<https://swgbar.com/en/guides/how-to-bypass-swg/>)) |
| **Netskope Tenant `Do Not Decrypt` / Certificate Pinned Apps exception** | Yes, centrally across managed Macs | Yes (**Policies → SSL Decryption → Do Not Decrypt** or **Steering Configuration → Exceptions**) | Organization-wide pinned desktop apps or shared developer endpoints break for the whole team ([SWG bypass vs. TLS exception](<https://swgbar.com/en/guides/swg-bypass-vs-tls-exception/>)) |
| **Combined CA bundle (`nscacert_combined.pem`) for CLI tools** | No (traffic remains inspected) | No | Policy requires decrypted Netskope routing and CLI/AI tools just need to trust the Netskope CA chain |

## 4\. Apply per-domain bypass or configure Netskope CLI CA trust

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

1.  Open **SWG bar → Domains**, select the exact inspected hostname (for example `api.anthropic.com` or `pypi.org`), and click **Enable** beside **Bypass SWG**—or run `swgbar bypass enable <domain>`.
2.  Wait until **Bypassing** appears, then restart your browser tab, terminal tool, or IDE so existing pooled TLS/HTTP/3 connections reconnect over the physical `Hardware` IPv4 interface.
3.  Confirm with `swgbar probe <domain>` that the origin’s public certificate chain is now served. To revert immediately, click the active control or run `swgbar bypass disable <domain>`.

### Option B: Build a combined PEM bundle for CLI tools under Netskope

If traffic must remain inspected by Netskope, export a combined PEM bundle from your macOS trust stores (or use the `nscacert_combined.pem` bundle provided by your IT team) and point your developer tools to it in `~/.zshrc`:

```
security find-certificate -a -p \
  /System/Library/Keychains/SystemRootCertificates.keychain \
  /Library/Keychains/System.keychain > "$HOME/.certs/nscacert_combined.pem"

export NODE_EXTRA_CA_CERTS="$HOME/.certs/nscacert_combined.pem"
export REQUESTS_CA_BUNDLE="$HOME/.certs/nscacert_combined.pem"
export SSL_CERT_FILE="$HOME/.certs/nscacert_combined.pem"
export AWS_CA_BUNDLE="$HOME/.certs/nscacert_combined.pem"
```

See [Fix SWG TLS & SSL certificate errors in CLI and AI tools](<https://swgbar.com/en/guides/swg-tls-certificate-errors-macos/>) and [Homebrew, Docker, Python, and Node.js CA trust](<https://swgbar.com/en/guides/homebrew-docker-python-node-ca-trust-swg-macos/>) for tool-specific setup.

## 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/>)
*   [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/>)
*   [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/>)
