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.