Cisco AnyConnect VPN Client in Ubuntu

Cisco does not provide a 64-bit version of Cisco AnyConnect VPN Client. You can use the 32-bit linux version. However, under Ubuntu Jaunty, I got the following error “Warning: The following Certificate received from the Server could not be verified:” and, even if I accepted, the message appeared again and again and the connection could not be established.

SOLUTION

1) If you have not done so, install the VPN Client (the version number might have changed):

# wget – http://samsten.net/work/cvpnc/acanyconnect-linux-2.3.0254-k9.tar.gz
# tar zxvf anyconnect-linux-2.3.0254-k9.tar.gz
# cd ciscovpn
# sudo sh ./vpn_install.sh

The program should now be accessible through the “Applications -> Internet” submenu.

2) # sudo apt-get install ia32-libs lib32nss-mdns

3) Install the 32-bit version of Mozilla Firefox:

Download it from http://www.mozilla.com/en-US/products/download.html
# tar jxvf firefox-3.0.10.tar.bz2
# sudo cp -R firefox /usr/local/

4) Copy or create symbolic links of some Firefox libraries required by the VPN client:

# cd /usr/local/firefox
# sudo cp libnssutil3.so /opt/cisco/vpn/lib/
# sudo cp libplc4.so /opt/cisco/vpn/lib/
# sudo cp libplds4.so /opt/cisco/vpn/lib/
# sudo cp libnspr4.so /opt/cisco/vpn/lib/
# sudo cp libsqlite3.so /opt/cisco/vpn/lib/
# sudo cp libnssdbm3.so /opt/cisco/vpn/lib/
# sudo cp libfreebl3.so /opt/cisco/vpn/lib/

Now you should be able to use the 32-bit client in your 64-bit system.

NOTE: If you have a 32-bit system, but you have troubles with the Cisco AnyConnect VPN Client (I did not experience any issue in my 32-bit system), you can try:

http://ubuntuforums.org/showpost.php?p=5408606&postcount=3

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.