2ec840ff63
I've decided to maintain the project myself now, so I've forked it and create a drone pipeline to push image to my registry
19 lines
239 B
Bash
19 lines
239 B
Bash
#!/bin/bash
|
|
|
|
#
|
|
# Generate a client certificate with EasyRSA
|
|
#
|
|
|
|
if [ "$DEBUG" == "1" ]; then
|
|
set -x
|
|
fi
|
|
|
|
CLIENTNAME=$1
|
|
PASSWORD=$2
|
|
|
|
set -e
|
|
|
|
source "$OPENVPN/ovpn_env.sh"
|
|
|
|
/usr/share/easy-rsa/easyrsa build-client-full $CLIENTNAME $PASSWORD
|