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.
This was a life-saver, because IT services does not give much support to linux. I was struggling with this problem for days before finding your solution.
Good for you. You are welcome. But it seems only works for 32bit version Linux.