Repository navigation
Conversation
|
Thanks for this guide. We're rolling out Zscaler Client Connector with Fleet GitOps right now (macOS only, Client Connector 4.8.0.281), and our setup answers some of the open questions in the PR description. Here's what we found, plus some suggestions. Answers to the open questions1. Is
2. What happens if the app installs before the profiles? The service reads the install parameters only when it starts after the install. If the profile arrives later, the parameters don't take effect until you reinstall. With Deploy, Fleet's automatic policy only checks for the app, so it can install before the profiles arrive. We gate the install policy on the profiles instead. The policy passes (and doesn't install) until both profiles are present: - name: macOS - Zscaler Client Connector installed
query: |
SELECT 1
WHERE (
SELECT COUNT(*) FROM macos_profiles
WHERE identifier IN ('com.example.zscaler.extensions', 'com.example.zscaler.installparams.profile')
) < 2
OR (
EXISTS (SELECT 1 FROM apps WHERE bundle_identifier = 'com.zscaler.zscaler')
AND EXISTS (SELECT 1 FROM processes WHERE path LIKE '/Applications/Zscaler/Zscaler.app/%')
);
platform: darwin
install_software:
package_path: ../lib/macos/software/zscaler-client-connector.package.ymlWe pair it with a second policy that fails while the profiles are missing, so a host that's stuck shows up. We also check that a Zscaler process is running, not just that the app is installed. 3. Bundle ID and the other identifiers. We read these from Client Connector 4.8.0.281 on a test host:
Because the Here's the extensions profile we'd suggest instead of the one in the guide. It allows the two system extensions explicitly instead of the whole Team ID, approves the packet filter as a content filter (without that, users get the "would like to filter network content" prompt), keeps the background items and the login item from being turned off, and, optionally, grants Full Disk Access:
|
| Certificate | SHA-256 fingerprint | Valid until |
|---|---|---|
Zscaler Root CA (ZscalerRootCA.crt) |
F3:D8:8E:5E:73:A9:FA:A8:7E:03:08:01:13:A3:9A:8B:A4:C5:27:5E:39:1C:27:30:3B:33:75:C3:6F:C6:FF:D4 |
2040-11-09 |
Zscaler Root CA, 2048 SHA256 (ZscalerRootCertificate-2048-SHA256.crt) |
04:F6:1F:1D:13:AA:E1:D1:65:73:DC:2C:37:F7:96:FD:F4:AC:97:71:3A:69:59:EB:B1:1D:24:73:95:8B:1A:53 |
2042-05-06 |
Some notes that could go into the guide:
- Download the certificates in the Zscaler Admin Console (Policy > SSL Inspection). If the org uses its own intermediate CA for inspection instead of Zscaler's default, deploy that root instead of, or in addition to, the Zscaler roots.
- Admins can check the fingerprint before uploading with
openssl x509 -in ZscalerRootCA.crt -noout -fingerprint -sha256. - macOS profiles only cover apps that use the System keychain. Tools with their own CA bundles, like Node.js, Python
requests, the Git and curl bundled with Homebrew, Java and Docker containers, still fail under SSL inspection. They need the CA through their own settings (NODE_EXTRA_CA_CERTS,REQUESTS_CA_BUNDLE,SSL_CERT_FILEand so on) or a Do Not Inspect rule for their hosts. A short mention would save developer-heavy fleets a lot of tickets. - To check that the profile is installed on a host:
security find-certificate -a -c "Zscaler Root CA" /Library/Keychains/System.keychain.
Platform SSO: AppPrefixAllowList for Client Connector
If the org uses Microsoft Entra ID with the Microsoft Enterprise SSO plug-in or Platform SSO (Company Portal's SSO extension), Client Connector's Entra ID sign-in can use the extension, so the user is signed in without entering credentials again. By default, the plug-in only handles apps that use MSAL and a few allowed apps. Client Connector isn't one of them, so it needs to be added with AppPrefixAllowList in the ExtensionData of the com.apple.extensiblesso payload:
<dict>
<key>PayloadType</key>
<string>com.apple.extensiblesso</string>
<key>PayloadIdentifier</key>
<string>com.example.psso</string>
<key>PayloadUUID</key>
<string>REPLACE-WITH-UUID</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>ExtensionIdentifier</key>
<string>com.microsoft.CompanyPortalMac.ssoextension</string>
<key>TeamIdentifier</key>
<string>UBF8T346G9</string>
<key>Type</key>
<string>Redirect</string>
<key>URLs</key>
<array>
<string>https://login.microsoftonline.com</string>
<string>https://login.microsoft.com</string>
<string>https://sts.windows.net</string>
</array>
<key>ExtensionData</key>
<dict>
<key>AppPrefixAllowList</key>
<string>com.zscaler.</string>
</dict>
<!-- Keep your existing PlatformSSO dictionary, AuthenticationMethod, ScreenLockedBehavior, etc. -->
</dict>Some details:
AppPrefixAllowListis one comma-separated string, not an array. If the org already allows other prefixes, append Zscaler, for examplecom.zscaler.,com.example.app.- The prefix
com.zscaler.coverscom.zscaler.zscalerand Zscaler's helper apps. The trailing dot keeps it from matching other vendors' bundle IDs that start withcom.zscaler. - Add the key to the existing SSO extension payload instead of a second Zscaler profile. A device should have only one
com.apple.extensiblessopayload per extension, and a second one can stop the Platform SSO registration from working. - This only works when Client Connector signs in with Entra ID (SAML IdP set to Entra ID in ZIA, and
userDomainmatching the Entra ID tenant domain), and when the extension'sURLsinclude the Entra ID sign-in endpoints. - To check: after the profile is installed,
app-sso platform -sshows the SSO extension as registered. When Client Connector opens, the Entra ID sign-in completes without a password prompt.
Keeping Fleet MDM working through Zscaler
This is the part we'd most like to see in the guide. With Tunnel 2.0 and SSL inspection, Zscaler can break APNs and MDM traffic. Then the host stops receiving MDM commands and profiles from Fleet. Apple's MDM check-in also uses mutual TLS with the device identity certificate, which doesn't work when the connection is inspected, even with the Zscaler root CA trusted.
- App Profile → Destination Exclusions (Tunnel 2.0): add
17.0.0.0/8(Apple's network, as Apple and Zscaler recommend for APNs and MDM) and your Fleet server, either the FQDN (for examplefleet.example.com) or its IP. Client Connector resolves hostname exclusions, as we saw in its logs forcaptive.apple.com. - ZIA → SSL Inspection → Do Not Inspect:
- Apple MDM:
.push.apple.com,deviceenrollment.apple.com,deviceservices-external.apple.com,mdmenrollment.apple.com,iprofiles.apple.com,gdmf.apple.com,albert.apple.com,identity.apple.com,.business.apple.com,axm-adm-*.apple.com - Fleet: your Fleet server FQDN and
updates.fleetdm.com(fleetd updates)
- Apple MDM:
- ZIA Firewall: allow TCP 443, 2197 and 5223 to
17.0.0.0/8(APNs).
A short "Verify" step for this could also help: after Zscaler connects, send an MDM command from Fleet (for example, refetch the host) and confirm the host acknowledges it.
|
@alt-Rational this is super helpful! Thank you for the detailed write up. |
|
@kitzy No worries, happy to help. Let me know if you need more details for some of the points. |
|
@alt-Rational thanks again, this answered most of the open questions on the PR. I've worked a lot of it into the draft: the root CA, Do Not Inspect rules, gating the install on the profiles, the reinstall warning, and the A few follow-up questions:
A few things I'm leaving out for now:
Let me know if I got any of this wrong. |
…ting - Hold the macOS install until both Zscaler profiles are on the host - Add optional root certificate and Entra ID SSO sections - Add Do Not Inspect and APNs guidance for Fleet and Apple traffic - Cover the packet filter VPN payload alongside the transparent proxy one - Expand verify and troubleshooting steps
|
@kitzy Thanks for working it in! We tested the open points on our PoC host (macOS 27.2, Client Connector 4.8.0.281, Z-Tunnel 2.0, Entra ID with Platform SSO). Here's everything we could confirm with logs or packet captures. Three things I told you earlier turned out to be wrong; they're corrected below. Your questions1. Where the We host it ourselves. We download the installer from the Zscaler Admin Console and upload it to our own package registry. Our CI then uploads it to Fleet ( 2. Interception mode Our forwarding profile uses Z-Tunnel 2.0 in route-based tunnel mode:
So the content-filter payload has no effect in this mode, and please disregard what I said about the "filter network content" prompt. We can't reproduce it with this driver. The Jamf-style VPN payloads only matter for the packet filter-based or transparent proxy-based driver. 3. Restart the service instead of reinstalling Partly confirmed:
For the guide, I'd still gate the install on the profiles and mention the restart as something to try first. 4. Please disregard my earlier claim. With 5. Silent sign-in with Confirmed:
The items you're leaving outMutual TLS on MDM check-in: You're right. The enrollment profile on our host has One system extension policy: We never saw an actual conflict. Keeping all vendors in one Process check in the install policy: Agreed. We split it into an install policy that only checks the app, and a report-only policy that checks for
Excluding
So IP-based Destination Exclusions are the reliable way to keep MDM traffic out of Zscaler: MDM does work through the tunnel when SSL inspection is off for the user:
With SSL inspection on, the guide should require Do Not Inspect rules for the Apple MDM hosts and the Fleet server, since nothing else keeps that traffic away from inspection. Suggestions for the guide
Let me know if you'd like the log excerpts or the policy YAML. |
- Scope the VPN payload note to packet filter and transparent proxy modes - Recommend IP-based Destination Exclusions for Z-Tunnel 2.0 - Restart the Zscaler service before reinstalling for late install params - Drop the cloudName suffix tip - Reference installers by hash_sha256 in GitOps - Add tunnel and SSO verify steps and a report-only tunnel policy
|
@alt-Rational this is fantastic, thank you. The logs and packet captures made this easy to act on. I pushed an update that includes:
One call I made: IP exclusions are recommended, not required. You showed MDM works through the tunnel as long as the Do Not Inspect rules are in place, so those rules are the hard requirement. Let me know if you think that's too soft. Two things still open:
Thanks again for all the testing. |
- Move traffic exclusions ahead of deployment - Turn the VPN payload note into an optional step - Move verification commands into Verify - Add Fleet UI steps for the tunnel policy - Split long sentences and fix style nits
Link to the profiles from the guide instead of embedding the XML.
|
@kitzy Thanks for the update, that all looks good to me. 1. Late-profile test: Done. A service restart on its own isn't enough; the tray app also has to restart, because the tray is what does the enrollment and sign-in. This fixes a host where the app was installed before the profile arrived: sudo launchctl kickstart -k system/com.zscaler.service && pkill -x Zscaler
This is the same path as a fresh install. We uninstalled completely and let Fleet reinstall with the profiles already in place: the token arrived 8 s after the install and Z-Tunnel 2.0 was up after 22 s, with no user input. So I'd make the two commands above the main fix and keep reinstalling as the fallback. One addition for troubleshooting: the auto-enrollment only runs when the tray starts. If a user logged out manually in the app, they have to click Login once (or you restart the tray as above). The username is pre-filled and the sign-in itself is silent. Recommended vs. required: I agree. Our MDM test through the tunnel ran with SSL inspection off, so the hard requirement is that MDM and Fleet traffic isn't inspected, whether through Do Not Inspect rules or inspection being off for those users. IP exclusions are the more robust way to take that traffic out of Zscaler altogether, so "recommended" fits. |
- Restart both the Zscaler service and app when install params arrive late - Add troubleshooting for users who sign out - Make Destination Exclusions optional and limit them to static IPs - Note that Fleet-hosted and load-balanced servers rely on Do Not Inspect
|
@alt-Rational thanks for running that test. The Our infra team got back to me on IPs too: Fleet-hosted instances sit behind an AWS ALB, so their IPs aren't static. The guide now limits Destination Exclusions to I also added a thank-you to you in the guide. Let me know if I missed anything. |
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check your content exclusion settings, including inherited policies.
|
No actionable comments were generated in the recent review. WalkthroughAdds two macOS configuration profiles for Zscaler Client Connector. One sets installation parameters for the cloud name, user domain, and tray launch. The other allows a specified team identifier in system-extension and service-management policies and disables user overrides. Merge Risk:
|
|
Had a look at the guide, looks great. Nothing that is missing :) Thank you |
Related issue: Resolves fleetdm/confidential#18407
Adds a guide for deploying Zscaler Client Connector on macOS and Windows as custom packages. Zscaler isn't in Homebrew or winget, so it can't be a Fleet-maintained app (see #51059).
The guide covers:
PCBCQZJ7S7), plus install parameters through thecom.zscaler.installparamspreference domainCLOUDNAME,USERDOMAIN) passed as MSI properties in a custom install scripthash_sha256Zscaler details come from Zscaler's help center (supported parameters for macOS and Windows, MSI install options, process allowlist).
macOS details were tested by alt-Rational on Client Connector 4.8.0.281 (see the comments below). Resolved:
com.zscaler.installparamsprofile is picked up, and the service rereads it each time it starts..pkgincludes an uninstaller app (com.zscaler.installer.uninstall). The install policy checks forcom.zscaler.zscaler, so it doesn't matter which bundle ID Fleet picks.hash_sha256.launchctl kickstartpluspkill -x Zscaler) fixes it without a reinstall.17.0.0.0/8and static self-hosted servers, and relies on Do Not Inspect rules for Fleet traffic.Zscaler, publisherZscaler Inc.) matches a customer's host running Client Connector 4.10. Zscaler's separateZscalerEPprogram doesn't match the policy.Once it's published, Zscaler can be added to fleetdm.com/integrations in a follow-up.
Checklist for submitter
Testing
AI
AI: Claude Code (claude-opus-5-5)
Summary by CodeRabbit