再会。
我正在尝试使用 Ubuntu 为 Fortivpn 提供的软件包。据我所知,它是一个包装 openfortivpn 的 NetworkManager 插件。
我遇到的问题是,我似乎找不到任何有关将“trusted-cert”标志添加到配置中的文档(我已确定该标志位于 /etc/NetworkManager/system-connections/MyVpnName)。
如果有人能指出我应该在哪里添加这个标志,那就太好了。我试过在该[vpn]部分下添加它,但这没有效果。
对于上下文:如果没有这个标志,我会收到一个错误:Gateway certificate validation failed, and the certificate digest in not in the local whitelist. If you trust it, rerun with: --trusted-cert ... or add this line to your config file: 'trusted-cert = ...。
我已经测试了直线命令行openfortivpn,它工作得很好。这似乎纯粹是我无法弄清楚如何让 NetworkManager 将标志传递给 openfortivpn。
谢谢大家 :)