When running a tool like Parallels on a Mac that is connected to a VPN with a custom certificate, the hosted macOS cannot, in many cases, connect to the outside world. This may manifest as a TLS error.
Installing the VPNs certificate in the virtualized macOS system keychain.
- Open Keychain Access
- Drag or import the Zscaler root certificate into the system keychain, not the login keychain
- Double click the imported cert
- Expand the Trust section
- Set the trust option to Always Trust
- Close Keychain Manager and authenticate when prompted
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /path/to/zscaler.cer
Restart the virtual machine
Now, you should be able to access the network without TLS errors.