How to fix AnyConnect error: cannot confirm it is connected to your secure gateway. The local network may not be trustworthy. Please try another network
after a few day update macos catalina, i realize i have problem with anyconnect. everytime i try to connect, Cisci AnyConnect: Got an error like this:
AnyConnect cannot confirm it is connected to your secure gateway. The local network may not be trustworthy. Please try another network
after browsing and googling a few minute… i found solution in here
open terminal and do the following (you will need administrator rights on your Mac)
cd /opt/cisco/AnyConnect
sudo nano AnyConnectLocalPolicy.xml
Then edit the field for ExcludeMacNativeCertStore to "true"
<ExcludeMacNativeCertStore>true</ExcludeMacNativeCertStore>
^X (control X to exit)
press Y to indicate that you want to save
press enter to accept the existing name
Quit AnyConnect and start it up again. You will now receive a certificate warning with the option to continue and, if available, install the certificate.
and just that… my anyconnect error gone….