Posted on 04-01-2020 02:02 PM
Hi Everyone -
just looking for some advice on getting zscaler to install with some command line options as illustrated here:
https://help.zscaler.com/z-app/customizing-zscaler-app-install-options-macos
Basically, i can get this work just fine on a machine manually by running this script, and placing the .app installer on the desktop and running the following command, it works fine:
sudo sh /Users/testuser/Desktop/zscaler/Zscaler-osx-2.1.0.190-installer.app/Contents/MacOS/installbuilder.sh --mode unattended --unattendedmodeui none --strictEnforcement 1 --cloudName zscalerthree --policyToken 12345678
However, how is this performed in jamf? so that i can roll it out to 25 machines. In jamf, i would normally convert .app files into .pkg, is this still necessary? also, how would i apply the install options?
on a separate note:
i installed the application using the above script, then i went into composer and dragged the entire folder including a config.ini file that was generated, i thought that maybe I could package this entire folder but the config.ini file contains a script that uses my specific named user directory, which will probably fail since this path will not be valid for other users. This probably wouldnt work anyway.
Posted on 04-01-2020 02:44 PM
I used Composer to package and install the Zscaler app in my environment.
I placed the Zscaler app in /private/var/tmp/
I then created a postinstall script:
You can place your command inside of the postinstall script:
#!/bin/sh
## postinstall
pathToScript=$0
pathToPackage=$1
targetLocation=$2
targetVolume=$3
sudo sh /private/var/tmp/Zscaler-osx-1.4.3.1-installer.app/Contents/MacOS/installbuilder.sh --mode unattended --strictEnforcement 1 --policyToken 1234567
exit 0 ## Success
exit 1 ## Failure
Posted on 04-30-2021 05:20 AM
Now how do we get the cert into the keychain? PolicyToken? Is this the policy ID?
Posted on 08-09-2021 08:44 AM
Did you ever find out how to get the certificate added as a Trusted cert? We seem to be having issues with people reporting that. they can not get to anything on the Internet, until we tell Keychain Access to trust this zScaler Root CA cert.
Posted on 09-13-2021 01:27 PM
Did you ever find an answer here?
Posted on 09-13-2021 01:57 PM
No, we did not.
Posted on 10-04-2021 10:54 AM
would this link be your solution?
https://community.jamf.com/t5/jamf-pro/zscaler-certificate-installation/m-p/244791#M229644
configuration profile to add cert?