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.