create_key_config.sh. add OpenBPN user configuration file named 'client-<NEW_KEY_NAME>.conf' - this name is expected by a script 'ovpn.sh' used by my own.
This commit is contained in:
parent
99a5b3237c
commit
7e0e60cc9c
@ -679,6 +679,10 @@ cp -a "$_client_conf_file" "${_target_dir}/${_CLIENT_CN}.ovpn"
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
_failed=true
|
||||
fi
|
||||
cp -a "$_client_conf_file" "${_target_dir}/client-${NEW_KEY_NAME}.conf"
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
_failed=true
|
||||
fi
|
||||
cp -a "${_CLIENT_CERT}" "${_target_dir}/" >> $log_file 2>&1
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
_failed=true
|
||||
|
Loading…
Reference in New Issue
Block a user