Simple web UI to manage OpenVPN users.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
380 B

mkdir -p {easyrsa,ccd}
cd easyrsa
if [ ! -f easyrsa ]; then
curl -sL | tar -xzv --strip-components=1 -C .
if [ -d pki ]; then
exit 0
./easyrsa init-pki
echo "ca" | ./easyrsa build-ca nopass
./easyrsa build-server-full server nopass
./easyrsa build-client-full client nopass