The following fix worked for me - fresh install of 12.04 LTS 32bit (with Firefox 12). Installed the AnyConnect client, then tried to run it.
Got this message:
AnyConnect cannot confirm it is connected to your secure gateway. The
local network may not be trustworthy. Please try another network.
Checked syslog in Ubuntu. Lots of this sort of stuff:
CERTSTORE_ERROR_CERT_NOT_FOUND The /opt/.cisco/certificates/ca/ directory was not found
Created /.cisco/certificates/ca directories in /opt using sudo
cd /opt
sudo mkdir .cisco
cd .cisco/
sudo mkdir certificates
cd certificates/
sudo mkdir ca
We use Globalsign as our certificate authority. So I just copied all the Globalsign .pem files from /etc/ssl/certs. If you don't know your provider, you could just copy everything.
sudo cp /etc/ssl/certs/Global* /opt/.cisco/certificates/ca
or if CA is unknown
sudo cp /etc/ssl/certs/cd /etc/ssl/cert/* /opt/.cisco/certificates/ca
I was able to start the AnyConnect client and connect to the VPN
Hope this helps.
ln -s /etc/ssl/certs ~/.cisco/certificates/caworks as well – May 16 '12 at 05:16I don't know if any of the detail here makes an impact. I just list additional details that worked for me.
The directory /opt/.cisco/certificates/ca already existed. So, I used Google Chrome to go to VPN server. Clicked on its certificate and exported root certificate with "Base64-encoded ASCII, single certificate" option. I saved the file with PEM extension. VPN client picked the change without need for restart.
– Sergei G May 18 '16 at 20:36