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:
- If firefox is not installed, install firefox from Ubuntu Software Center.
- On terminal run: sudo cp /usr/lib/firefox/lib*.so /opt/cisco/vpn/lib/
- Restart Anyconnect client and connect to required host. The certificate acceptance prompt should appear now.

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.