VPN 密钥无效!未启用服务器证书验证方法

VPN 密钥无效!未启用服务器证书验证方法

我正在尝试使用 OpenVPN 设置 vpn(来自 VyperVPN),但一直收到无效 VPN Secrets 错误。我花了一天半的时间寻找解决方案,但无济于事,所以我想请教专业人士。

我尝试重启网络管理器以及整个系统。我还尝试勾选/取消勾选 open vpn 中的所有用户选项。据说这两种方法都帮助其他人解决了这个问题。

这是系统日志:

Dec 16 14:33:13 Penguine-PC NetworkManager[920]: <info> Starting VPN service 'openvpn'...
Dec 16 14:33:13 Penguine-PC NetworkManager[920]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 3111
Dec 16 14:33:13 Penguine-PC NetworkManager[920]: <info> VPN service 'openvpn' appeared; activating connections
Dec 16 14:33:13 Penguine-PC NetworkManager[920]: <info> VPN plugin state changed: init (1)
Dec 16 14:33:14 Penguine-PC NetworkManager[920]: <info> VPN plugin state changed: starting (3)
Dec 16 14:33:14 Penguine-PC NetworkManager[920]: <info> VPN connection 'VyprVPN OpenVPN' (Connect) reply received.
Dec 16 14:33:14 Penguine-PC nm-openvpn[3117]: OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 27 2013
Dec 16 14:33:14 Penguine-PC nm-openvpn[3117]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Dec 16 14:33:14 Penguine-PC nm-openvpn[3117]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Dec 16 14:33:14 Penguine-PC nm-openvpn[3117]: LZO compression initialized
Dec 16 14:33:14 Penguine-PC nm-openvpn[3117]: UDPv4 link local: [undef]
Dec 16 14:33:14 Penguine-PC nm-openvpn[3117]: UDPv4 link remote: [AF_INET]216.168.3.151:1194
Dec 16 14:33:17 Penguine-PC nm-openvpn[3117]: [us2.vpn.giganews.com] Peer Connection Initiated with [AF_INET]216.168.3.151:1194
Dec 16 14:33:20 Penguine-PC nm-openvpn[3117]: AUTH: Received AUTH_FAILED control message
Dec 16 14:33:20 Penguine-PC nm-openvpn[3117]: SIGTERM[soft,auth-failure] received, process exiting
Dec 16 14:33:20 Penguine-PC NetworkManager[920]: <warn> VPN plugin failed: 0
Dec 16 14:33:20 Penguine-PC NetworkManager[920]: <info> VPN plugin state changed: stopped (6)
Dec 16 14:33:20 Penguine-PC NetworkManager[920]: <info> VPN plugin state change reason: 10
Dec 16 14:33:20 Penguine-PC NetworkManager[920]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Dec 16 14:33:20 Penguine-PC NetworkManager[920]: <info> Policy set 'ervilla_EXT' (eth1) as default for IPv4 routing and DNS.
Dec 16 14:33:25 Penguine-PC NetworkManager[920]: <info> VPN service 'openvpn' disappeared

查看日志后,问题似乎是“未启用任何服务器证书验证方法”。这是日志中直接引用的内容。说实话,我不知道该怎么做,希望有更了解的人可以告诉我。

答案1

我不认为这No server certificate verification method has been enabled.是问题的根源。但我通过为“服务器证书检查”选项选择“准确验证名称”解决了此警告

在“主题匹配”字段中我输入了“OpenVPN 服务器”。

我在这里粘贴截图: 在此处输入图片描述

但关于错误消息,AUTH: Received AUTH_FAILED control message我想说的是您的 VPN 凭据无效或您选择了错误的身份验证类型。这似乎才是真正的问题。

相关内容