]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/blobdiff - html/cgi-bin/ovpnmain.cgi
openvpn: Update to version 2.3.7, added --verify-x509-name directive.
[people/dweismueller/ipfire-2.x.git] / html / cgi-bin / ovpnmain.cgi
index 62af54ed8a1c6e0b294e4545666af34cae904310..037894d50bf941d870e55e311932a71c04dbf94b 100644 (file)
@@ -2333,7 +2333,7 @@ else
     }
     print CLIENTCONF "verb 3\r\n";
     print CLIENTCONF "ns-cert-type server\r\n";
-    print CLIENTCONF "tls-remote $vpnsettings{ROOTCERT_HOSTNAME}\r\n"; 
+    print CLIENTCONF "verify-x509-name $vpnsettings{ROOTCERT_HOSTNAME} name\r\n";
     if ($vpnsettings{MSSFIX} eq 'on') {
        print CLIENTCONF "mssfix\r\n";
     }