Skip to content

Commit

Permalink
Resolving Can't load /etc/openvpn/easy-rsa/pki/.rnd into RNG
Browse files Browse the repository at this point in the history
Resolving Chocobozzz#168
  • Loading branch information
devadattas authored May 4, 2021
1 parent c87cbf8 commit d9e5a4e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,12 @@ fi

# Init PKI dirs and build CA certs
./easyrsa init-pki
./easyrsa build-ca nopass
openssl rand -writerand /etc/openvpn/easy-rsa/pki/.rnd
./easyrsa --batch build-ca nopass
# Generate Diffie-Hellman parameters
./easyrsa gen-dh
./easyrsa --batch gen-dh
# Genrate server keypair
./easyrsa build-server-full server nopass
./easyrsa --batch build-server-full server nopass

# Generate shared-secret for TLS Authentication
openvpn --genkey --secret pki/ta.key
Expand Down

0 comments on commit d9e5a4e

Please sign in to comment.