![VPN 密钥无效!未启用服务器证书验证方法](https://linux22.com/image/1044257/VPN%20%E5%AF%86%E9%92%A5%E6%97%A0%E6%95%88%EF%BC%81%E6%9C%AA%E5%90%AF%E7%94%A8%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%AF%81%E4%B9%A6%E9%AA%8C%E8%AF%81%E6%96%B9%E6%B3%95.png)
我正在尝试使用 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
查看日志后,问题似乎是“未启用任何服务器证书验证方法”。这是日志中直接引用的内容。说实话,我不知道该怎么做,希望有更了解的人可以告诉我。