From 7e0e60cc9cbe5ec1566968af99f4d70d81d01a97 Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 5 Nov 2019 12:15:08 +0100 Subject: [PATCH] create_key_config.sh. add OpenBPN user configuration file named 'client-.conf' - this name is expected by a script 'ovpn.sh' used by my own. --- create_key_config.sh | 4 ++++ 1 file changed, 4 insertions(+) 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