create_key_config.sh: rename output key/cert ta.key and ca.crt.

This commit is contained in:
Christoph 2022-08-14 13:39:18 +02:00
parent cc30e6c416
commit be54626b2a

View File

@ -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