From Teltonika Networks Wiki
Step 2: preparing EasyRSA
Before you can start, you must first initialize a directory for the Public Key Infrastructure (PKI). This can be done with the following command:
.\easyrsa init-pki
Open the vars.bat file with the Notepad text editor:
notepad vars.bat
This is the template file for generating certificates, i.e., the information stored here will be offered as default values during certificate generation. Locate and edit the following lines in accordance with your needs:
set KEY_COUNTRY=US
set KEY_PROVINCE=CA
set KEY_CITY=SanFrancisco
set KEY_ORG=OpenVPN
set [email protected]
You can also set the key size for the Diffie Hellman parameters:
set DH_KEY_SIZE=2048
Once you're done, save the file and close the editor
Run the following commands:
vars
clean-all