我试图将ocserv服务器设置为使用普通密码或证书身份验证。
似乎ocserv.conf应该是:
auth = "plain[passwd=/etc/ocserv/ocpasswd]"
# Specify alternative authentication methods that are sufficient
# for authentication. That is, if set, any of the methods enabled
# will be sufficient to login, irrespective of the main 'auth' entries.
# When multiple options are present, they are OR composed (any of them
# succeeding allows login).
enable-auth = "certificate"
但是,当我enable-auth =“ certificate”时,我无法再通过vpn服务器进行连接。它只是报告连接失败。
有什么建议吗?