diff options
author | Ryan Riske <ryanriske@gmail.com> | 2015-03-02 13:26:19 -0600 |
---|---|---|
committer | Ryan Riske <ryanriske@gmail.com> | 2015-03-02 13:26:19 -0600 |
commit | 6656e3ae1a2e9a1b4bb7d8eecf320f840b6837c2 (patch) | |
tree | 69046326702eab79a4cea9b8d36b2248cbc188cb /scripts/vpn-config.pl | |
parent | 57d284aded5003468dee946f906bf88f09a79d5a (diff) | |
download | vyatta-cfg-vpn-6656e3ae1a2e9a1b4bb7d8eecf320f840b6837c2.tar.gz vyatta-cfg-vpn-6656e3ae1a2e9a1b4bb7d8eecf320f840b6837c2.zip |
Fix ipsec.secrets generation for PEM-formatted RSA key.
Diffstat (limited to 'scripts/vpn-config.pl')
-rwxr-xr-x | scripts/vpn-config.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl index c7e227c..23d97d7 100755 --- a/scripts/vpn-config.pl +++ b/scripts/vpn-config.pl @@ -1036,7 +1036,7 @@ if ($vcVPN->exists('ipsec')) { # Prevent duplicate includes for rsa keys. if (!defined($key_file_list{$local_key_file})) { $key_file_list{$local_key_file} = 1; - $genout_secrets .= "include $local_key_file\n"; + $genout_secrets .= ": RSA $local_key_file\n"; } } else { vpn_die(["vpn","ipsec","site-to-site","peer",$peer,"authentication"],"$vpn_cfg_err Unknown authentication mode \"$auth_mode\" for peer ". |