Introduction:
This document explains an issue the user faces when trying to connect to ASA using Cisco AnyConnect.
Problem"
When we try to connect to ASA using Cisco AnyConnect client, the warning message "Security Warning : Untrusted VPN Server Certificate" appears. There is no option to Trust or import the certificate so that the warning is not seen the next time. AnyConnect version used is 3.1.05152. The waring is as shown below:
Solution1:
Upgrading the AnyConnect to version 3.1.06073 or higher will resolve this warning issue as this issue was seen with the AnyConnect version 3.1.05152.
Solution2:
The user can also purchase a certificate for the ASA and install it in the ASA. Also the user can generate a strong self signed certificate (using a 2048-bit RSA key). This certificate is required to be downloaded by the Client and installed in their trusted root CA store. If you use a fully qualified domain name (FQDN) for the VPN users to access the ASA that should be the Common Name (CN) in the certificate.
Source:
https://supportforums.cisco.com/discussion/12328761/cisco-anyconnecthow-hide-security-warning-untrusted-certificate