From be54626b2ab0b30b157cd19497afc4cba0cb6066 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 14 Aug 2022 13:39:18 +0200 Subject: [PATCH] create_key_config.sh: rename output key/cert ta.key and ca.crt. --- create_key_config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_key_config.sh b/create_key_config.sh index 4499bf2..c55ebcc 100755 --- a/create_key_config.sh +++ b/create_key_config.sh @@ -692,11 +692,11 @@ cp -a "${_CLIENT_CERT}" "${_target_dir}/" >> $log_file 2>&1 if [[ $? -ne 0 ]] ; then _failed=true fi -cp -a "${_CA_CERT}" "${_target_dir}" >> $log_file 2>&1 +cp -a "${_CA_CERT}" "${_target_dir}/VPN-${ORG_SHORTCUT}-$(basename ${_CA_CERT})" >> $log_file 2>&1 if [[ $? -ne 0 ]] ; then _failed=true fi -cp -a "${_TA_KEY}" "${_target_dir}" >> $log_file 2>&1 +cp -a "${_TA_KEY}" "${_target_dir}/VPN-${ORG_SHORTCUT}-$(basename ${_TA_KEY})" >> $log_file 2>&1 if [[ $? -ne 0 ]] ; then _failed=true fi