diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-01-15 08:45:53 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-01-15 08:45:53 +0100 |
commit | 07d0d1b23ff415c7df3330523d19c552dd40c7b8 (patch) | |
tree | 080ff42e55896542841cb0c1afa2b4ca4dd0317d /etc | |
parent | 37656b10150bb59d569560f056fce42e47389870 (diff) | |
download | pfsense-07d0d1b23ff415c7df3330523d19c552dd40c7b8.zip pfsense-07d0d1b23ff415c7df3330523d19c552dd40c7b8.tar.gz |
Add RSA keys even for eap-mschapv2
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 61e338d..0b8dfc1 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -452,7 +452,8 @@ EOD; if (isset($ph1ent['disabled'])) continue; - if (strstr($ph1ent['authentication_method'], 'rsa') || $ph1ent['authentication_method'] == 'eap-tls') { + if (strstr($ph1ent['authentication_method'], 'rsa') || + in_array($ph1ent['authentication_method'], array('eap-mschapv2', 'eap-tls'))) { $certline = ''; $ikeid = $ph1ent['ikeid']; |