mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
tls-verify requires quotes around the command to be executed. Ticket #3596
This commit is contained in:
parent
e8e283669a
commit
db45bc6892
@ -595,7 +595,7 @@ function openvpn_reconfigure($mode, $settings) {
|
||||
$cert = lookup_cert($settings['certref']);
|
||||
/* XXX: Seems not used at all! */
|
||||
$servercn = urlencode(cert_get_cn($cert['crt']));
|
||||
$conf .= "tls-verify /usr/local/sbin/ovpn_auth_verify tls '{$servercn}' {$settings['cert_depth']} via-env\n";
|
||||
$conf .= "tls-verify \"/usr/local/sbin/ovpn_auth_verify tls '{$servercn}' {$settings['cert_depth']} via-env\"\n";
|
||||
}
|
||||
|
||||
// The local port to listen on
|
||||
|
||||
Loading…
Reference in New Issue
Block a user