本帖最后由 gengchunlin 于 2018-7-20 19:22 编辑 最好换一个4.x的包,
我在asa上挂了一个3.1的包,连接的时候也是报同样的错误。
换了一个4.1的包,就ok了
anyconnect-linux-64-4.1.08005-k9.pkg
估计比我设个版本高的都可以吧~~
=========
ulASA(config)# sh run webvpn
webvpn
enable ct
enable inside
enable outside
anyconnect image disk0:/anyconnect-win-4.5.01044-webdeploy-k9.pkg 1
anyconnect image disk0:/anyconnect-linux-64-4.1.08005-k9.pkg 2
anyconnect enable
tunnel-group-list enable
ulASA(config)#
=======
=======> linux output.[root@www ~]# vpn
Cisco AnyConnect Secure Mobility Client (version 4.5.01044) .
Copyright (c) 2004 - 2017 Cisco Systems, Inc. All Rights Reserved.
>> state: Disconnected
>> state: Disconnected
>> notice: Ready to connect.
>> registered with local VPN subsystem.
VPN>
connect 192.168.12.1connect 192.168.12.1
>> contacting host (192.168.12.1) for login information...
>> notice: Contacting 192.168.12.1.
AnyConnect cannot verify server: 192.168.12.1
- Certificate does not match the server name.
- Certificate is from an untrusted source.
Connecting to this server may result in a severe security compromise!
Most users do not connect to untrusted servers unless the reason for the error condition is known.
Connect Anyway? [y/n]: y
Group: sslvpn
Username: [ilay]
Password:
>> state: Connecting
>> notice: Establishing VPN session...
The AnyConnect Downloader is analyzing this computer. Please wait...
The AnyConnect Downloader is performing update checks...
>> notice: The AnyConnect Downloader is performing update checks...
The AnyConnect Downloader updates have been completed.
Please wait while the VPN connection is established...
>> notice: Checking for profile updates...
>> notice: Checking for product updates...
>> notice: Checking for customization updates...
>> notice: Performing any required updates...
>> notice: The AnyConnect Downloader updates have been completed.
>> state: Connecting
>> notice: Establishing VPN session...
>> notice: Establishing VPN - Initiating connection...
>> notice: Establishing VPN - Examining system...
>> notice: Establishing VPN - Activating VPN adapter...
>> notice: Establishing VPN - Configuring system...
>> state: Connected
>> notice: Establishing VPN...
>> notice: Connected to 192.168.12.1.
>> state: Connected
>> notice: Connected to 192.168.12.1.
VPN> exit
exit
goodbye...
>> note: VPN Connection is still active.
========end