Fix create_client
This commit is contained in:
parent
32a341eeac
commit
c91d908868
@ -25,9 +25,12 @@ if [ -f "$EASYRSA_PKI/issued/${cn}.crt" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
easyrsa build-client-full "$cn" nopass 1>/dev/null 2>&1
|
||||
cat << EOF | easyrsa build-client-full "$cn" nopass
|
||||
yes
|
||||
EOF
|
||||
|
||||
# Generate OpenVPN users via google authenticator
|
||||
mkdir -p /etc/openvpn/otp
|
||||
|
||||
# Skip confirmation if not running in interctive mode. Essential for integration tests.
|
||||
google-authenticator --time-based --disallow-reuse --force --rate-limit=3 --rate-time=30 --window-size=3 \
|
||||
|
Loading…
Reference in New Issue
Block a user