I found several tutorials about how to get Cisco Anyconnect VPN software running for ubuntu 64 bit. However, I'm a very minimalistic person and I knew that the instructions I'd seen Here where overboard. I couldn't figure out why I actually needed to install firefox 32 bit if I only needed some libs from the 32bit version of firefox.
I tried installing the libraries (ia32libs and lib32nssmdns) and then symlinking to them from /opt/cisco/vpn/lib
however, I still received the "Certificate could not be verified" error message.
I found a pdf from the Berkley website which had the solution, which was several less steps and didn't involve actually installing a 32 bit browser (that you don't need).
Here are the steps:
Perform a manual installation by whatever means you have available (if you have the installer use, that, or if you can get to the anyconnect website, you should be able to install from there.) Once you have the installer, run the following:
cd ciscovpn && sudo ./vpn_install.sh
(Actually, I found that if I login to my vpn through my webbrowser, it does download and install, it just doesn't connect because of the certificate error, so I didnt have to do the above step). Here is a recent version if you can't get it elsewhere.
Note that with the version I have posted here I was able to use without any of the below instructions on ubuntu 10.04. Your mileage may vary, but for me it worked out of the box (I am using the Sun jre though so not sure if it works with openjdk).
If you have any problems about a Security error as described previously, do the following:
- Install ia32libs and lib32nssmdns:
sudo aptitude install ia32-libs lib32nss-mdns
- Add several symlinks in /usr/local/firefox (create this directory if needed):
cd /usr/local/firefox sudo ln -s /usr/lib32/libnspr4.so sudo ln -s /usr/lib32/libnss3.so sudo ln -s /usr/lib32/libplc4.so sudo ln -s /usr/lib32/libsmime3.so sudo ln -s /usr/lib32/nss/libsoftokn3.so
Thats it, Now you can connect.
Hope this saves someone from having to download firefox and complete other unnecessary steps.

What java are you using?
This didn't work for me -- I'm wondering if it is due to what Java I have activated. Due to Android development I'm currently using the 32bit Sun java.
Could you please advise me on what java you have working successfully? I just get "certificate problems" and it is never able to actually establish a connection.
xxxx:/usr/local/firefox# update-alternatives --config java
There are 5 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode
1 /usr/bin/gij-4.2 42 manual mode
2 /usr/bin/gij-4.3 43 manual mode
* 3 /usr/lib/jvm/ia32-java-6-sun/jre/bin/java 63 manual mode
4 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode
5 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
Sun Java
I am using the sun java JRE.
Note that with ubuntu 10.04 x64 I was able to install the newer 2.4.1012-k9 version of cisco anyconnect without needing to install any 32bit libs.
I just posted the new version above, read closely.
Ubuntu 10.4 (64bit), Firefox 3.6, Cisco anyconnect VPN client
Matt,
Nice work! FYI, this also works for 10.4 64 bit with Firefox 3.6.
Steve
great writeup
...but your fancy code highlighting made the dashes in your commands disappear.
For example:
sudo aptitude install ia32libs lib32nssmdns
It took me a couple full days to realize that I should add some dashes there.
good catch
Thanks for the tip. fixed now.