mirror of
https://github.com/flant/ovpn-admin.git
synced 2026-02-04 09:12:13 -08:00
Compare commits
1 Commits
a3124b4416
...
8898e7a130
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8898e7a130 |
@ -21,10 +21,10 @@ else
|
||||
done
|
||||
else
|
||||
echo "Generating new certs"
|
||||
easyrsa --batch init-pki
|
||||
easyrsa init-pki
|
||||
cp -R /usr/share/easy-rsa/* $EASY_RSA_LOC/pki
|
||||
echo "ca" | easyrsa build-ca nopass
|
||||
easyrsa --batch build-server-full server nopass
|
||||
easyrsa build-server-full server nopass
|
||||
easyrsa gen-dh
|
||||
openvpn --genkey --secret ./pki/ta.key
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user