diff --git a/create_key_config.sh b/create_key_config.sh index d94c7dc..e78929e 100755 --- a/create_key_config.sh +++ b/create_key_config.sh @@ -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