当我尝试使用 Cisco AnyConnect VPN 客户端进行连接时,我收到以下错误:

由于服务器证书问题,连接尝试失败。
我在之前的 Ubuntu 11.10 安装中碰巧遇到了这个问题。那个时候我可以使用互联网上的一些教程来修复它(我不记得是哪一个)。基本上,他们建议安装 4-5 个软件包,然后安装一些ln -s. 但这一次他们都没有工作。谁能帮我一步一步?
小智 9
以下修复对我有用 - 全新安装 12.04 LTS 32 位(使用 Firefox 12)。安装 AnyConnect 客户端,然后尝试运行它。
收到这条消息:
AnyConnect 无法确认它已连接到您的安全网关。本地网络可能不可信。请尝试其他网络。
在 Ubuntu 中检查系统日志。很多这样的东西:
CERTSTORE_ERROR_CERT_NOT_FOUND The /opt/.cisco/certificates/ca/ directory was not found
Run Code Online (Sandbox Code Playgroud)
.cisco/certificates/ca在/opt使用中创建/目录sudo
cd /opt
sudo mkdir .cisco
cd .cisco/
sudo mkdir certificates
cd certificates/
sudo mkdir ca
Run Code Online (Sandbox Code Playgroud)
我们使用 Globalsign 作为我们的证书颁发机构。所以我只是从 .pem 复制了所有 Globalsign .pem 文件/etc/ssl/certs。如果您不知道您的提供商,您可以复制所有内容。
sudo cp /etc/ssl/certs/Global* /opt/.cisco/certificates/ca
Run Code Online (Sandbox Code Playgroud)
或者如果 CA 未知
sudo cp /etc/ssl/certs/cd /etc/ssl/cert/* /opt/.cisco/certificates/ca
Run Code Online (Sandbox Code Playgroud)
我能够启动 AnyConnect 客户端并连接到 VPN
希望这可以帮助。
我可以确认这个问题存在。Anyconnect 客户端在 11.10 上运行良好,但在 12.04 上停止工作。带有 Firefox 库链接的老技巧不再起作用。我最终使用了 OpenConnect。
安装:http : //www.humans-enabled.com/2011/06/how-to-connect-ubuntu-linux-to-cisco.html 路由:http : //www.redips.net/linux/vpn-client -and-routing-2/
有关 Cisco Anyconnect 问题的更多详细信息:
从日志中可以看出:用户能够登录,但 Anyconnect 客户端仍然无法建立 vpn 连接。
Cisco AnyConnect VPN 客户端(版本 2.5.3055)。
state: Connecting
notice: Establishing VPN session...
notice: Checking for profile updates...
notice: Checking for product updates...
notice: Checking for customization updates...
notice: Checking for localization updates...
state: Connecting
notice: Establishing VPN session...
notice: Establishing VPN - Initiating connection...
state: Disconnecting
notice: Disconnect in progress, please wait...
state: Disconnected
notice: VPN session ended.
error: The certificate on the secure gateway is invalid. A VPN connection will not be established.
error: AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again.
notice: Connection attempt has failed.
state: Disconnected
Run Code Online (Sandbox Code Playgroud)