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.

19 lines
388 B

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