create_key_config.sh: rename output key/cert ta.key and ca.crt.
This commit is contained in:
parent
cc30e6c416
commit
be54626b2a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user