openvpn: Fix certificate verification compatibility

This commit is contained in:
世界
2026-08-30 17:41:44 +08:00
parent 18398cd3f2
commit 086e0b87cf
12 changed files with 149 additions and 49 deletions
+1
View File
@@ -336,6 +336,7 @@ func buildServerTLSOptions(options option.OpenVPNInboundTLSOptions) (ovpn.Server
Certificate: certificate,
Key: key,
VerifyClientCertificate: options.VerifyClientCertificate,
CertificateProfile: options.CertificateProfile,
}
keyDirection := -1
controlWrap := options.ControlWrap