diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-02-22 17:18:58 -0600 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-02-22 17:18:58 -0600 |
commit | da723095ab1dc4b1a0690e73902ee51117466d39 (patch) | |
tree | 93d56d919245afeec79b272943b66258d2821ab3 | |
parent | b183b792eb0239bcebae6ce8bff048ef46d8cc3d (diff) | |
download | vyatta-cfg-vpn-da723095ab1dc4b1a0690e73902ee51117466d39.tar.gz vyatta-cfg-vpn-da723095ab1dc4b1a0690e73902ee51117466d39.zip |
Fix minor x509 configuration error message problem
-rwxr-xr-x | scripts/vpn-config.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl index f6ce00a..adbef99 100755 --- a/scripts/vpn-config.pl +++ b/scripts/vpn-config.pl @@ -1332,9 +1332,9 @@ sub get_x509 { # Verify the files exist vpn_die([split(' ', ($path."ca-cert-file"))] , "Invalid ca-cert-file \"$cacrt\"") if (! -f $cacrt); - vpn_die([split(' ', ($path."cert-file"))] , "Invalid server-cert-file \"$crt\"") + vpn_die([split(' ', ($path."cert-file"))] , "Invalid cert-file \"$crt\"") if (! -f $crt); - vpn_die([split(' ', ($path."key-file"))] , "Invalid server-key-file \"$key\"" ) + vpn_die([split(' ', ($path."key-file"))] , "Invalid key-file \"$key\"" ) if (! -f $key); |