Skip to content

Commit

Permalink
openvpn: switcheroo for ns-cert-type / remote-cert-tls
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Sep 21, 2017
1 parent b605812 commit 73abc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/www/vpn_openvpn_export.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $verifys
if (is_array($server_cert) && ($server_cert['crt'])) {
$purpose = cert_get_purpose($server_cert['crt'], true);
if ($purpose['server'] == 'Yes') {
$conf .= "ns-cert-type server{$nl}";
$conf .= "remote-cert-tls server{$nl}";
}
}

Expand Down

1 comment on commit 73abc7c

@duketower
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for a bad question may be,
but i am unable to find this file, where do i need to make this edit.
please someone explain me in steps.
it will be very helpful
thank you

Please sign in to comment.