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