1. Linux
1.1. Installation
-
Download the EasyRSA-3.0.4.tgz file from https://github.com/OpenVPN/easy-rsa/releases.
Enter the following commands at a Command Line.
cd ~ tar tfz /mnt/c/Users/Douwe/Downloads/EasyRSA-3.0.4.tgz tar xfz /mnt/c/Users/Douwe/Downloads/EasyRSA-3.0.4.tgz cp -a EasyRSA-3.0.4/vars.example EasyRSA-3.0.4/vars
1.2. Generation of CA certificate
Enter the following commands at a Command Line.
cd ~/EasyRSA-3.0.4 ./easyrsa init-pki # Type "yes" and press Enter. ./easyrsa build-ca # Type the level 1 password. # Type the level 1 password. # Type "efw CA" for the Common Name. # Type "smru-efw-mrm CA" for the Common Name.
1.3. Generation of client certificate
Enter the following commands at a Command Line.
./easyrsa gen-req Client # Type the level 2 password. # Type the level 2 password. # Type "Client" for the Common Name.
./easyrsa sign-req client Client # Type "yes" and press Enter. # Type the level 1 password.
1.4. Generation of server certificate
Enter the following commands at a Command Line.
./easyrsa gen-req Server # Type the level 2 password. # Type the level 2 password. # Type "Server" for the Common Name.
./easyrsa sign-req server Server # Type "yes" and press Enter. # Type the level 1 password.
1.5. Generation of PKCS .p12 files
Enter the following commands at a Command Line.
./easyrsa export-p12 Client # Type the level 2 password. # Type the level 3 password. # Type the level 3 password. ./easyrsa export-p12 Server # Type the level 2 password. # Type the level 3 password. # Type the level 3 password.
1.6. Generation of DH file
Enter the following commands at a Command Line.
./easyrsa gen-dh
1.7. Storage in password manager
Enter the following commands at a Command Line.
cd ~ tar cfz EasyRSA-3.0.4/pki PKI-smru-efw-mrm.tgz <????> ls -al PKI-smru-efw-mrm.tgz <????> scp -p PKI-smru-efw-mrm.tgz <????>
2. Windows
2.1. Installation
-
Download the EasyRSA-3.0.4.zip file from https://github.com/OpenVPN/easy-rsa/releases.
-
Install 7-Zip.
Enter the following commands at a Command Line.
cd C:\Users\<User> "C:\Program Files\7-Zip\7z.exe" x C:\Users\Douwe\Downloads\EasyRSA-3.0.4.zip