Override certificate error in Cisco AnyConnect Client on Ubuntu 12.04 64 bit

Problem: Cisco Anyconnect client does not give an option to override the “invalid certificate error” and go ahead using the current certificate of the server.

Reason: The current libraries used by Anyconnect client does not support this feature.

Fix: Add libraries from Firefox, as below:

  1. If firefox is not installed, install firefox from Ubuntu Software Center.
  2. On terminal run: sudo cp /usr/lib/firefox/lib*.so /opt/cisco/vpn/lib/
  3. Restart Anyconnect client and connect to required host. The certificate acceptance prompt should appear now.
Sreekumar Kj
Sreekumar (KJ) has been a hobby programmer from school days. Codemarvels is his personal blog from the year 2010, where he writes about technology, philosophy, society and a bit about physics. He now runs a conversational AI company - DheeYantra - focusing his efforts to help businesses improve operational efficiency using digital employees powered by AI.