Problem with vars.bat configuration

Support forum for Easy-RSA certificate management suite.
Post Reply
Mumomie
OpenVpn Newbie
Posts: 6
Joined: Mon Nov 01, 2021 9:35 am

Problem with vars.bat configuration

Post by Mumomie » Tue Nov 30, 2021 3:16 pm

Hello,
I have a problem that I cannot resolve with the configuration of the vars file.
I am working with Windows Server and Openvpn-2.5.4-I604-amd64-msi installer file.

I copied the vars file from vars.example. I opened it using Notepad ++. As described, I only changed the part about key_country, key_province, key_city, key_org, ke. When I enter the vars command for vars.bat, the vars file is displayed on different lines.

I make mistakes but I don't see which ones. I absolutely need help. Thank you.

User avatar
TinCanTech
Forum Team
Posts: 10196
Joined: Fri Jun 03, 2016 1:17 pm

Re: Problem with vars.bat configuration

Post by TinCanTech » Tue Nov 30, 2021 4:30 pm


Mumomie
OpenVpn Newbie
Posts: 6
Joined: Mon Nov 01, 2021 9:35 am

Re: Problem with vars.bat configuration

Post by Mumomie » Tue Nov 30, 2021 6:10 pm

Thanks lot for you help.
Unfortunatly, this doesn't help me.

User avatar
TinCanTech
Forum Team
Posts: 10196
Joined: Fri Jun 03, 2016 1:17 pm

Re: Problem with vars.bat configuration

Post by TinCanTech » Tue Nov 30, 2021 7:55 pm

The only reason that it does not help you is because you are too lazy to read it.

Mumomie
OpenVpn Newbie
Posts: 6
Joined: Mon Nov 01, 2021 9:35 am

Re: Problem with vars.bat configuration

Post by Mumomie » Wed Dec 01, 2021 11:54 am

Thanks for you remark.
I read a lot about how to install OpenVPN on Windows Server 2016 or Debian 10. I am a newbie. This kind of remark is a real nonsense.

User avatar
TinCanTech
Forum Team
Posts: 10196
Joined: Fri Jun 03, 2016 1:17 pm

Re: Problem with vars.bat configuration

Post by TinCanTech » Wed Dec 01, 2021 1:29 pm

Mumomie wrote:
Tue Nov 30, 2021 3:16 pm
am working with Windows Server and Openvpn-2.5.4-I604-amd64-msi installer file.

I copied the vars file from vars.example. I opened it using Notepad ++. As described, I only changed the part about key_country, key_province, key_city, key_org, ke. When I enter the vars command for vars.bat, the vars file is displayed on different lines.
  • vars.bat is only available in Easy-RSA-2
    OpenVPN 2.5 only ships with Easy-RSA-3 NOT Easy-RSA-2
    When installing Openvpn, you must use CUSTOM INSTALL to install Easy-RSA-3
Then, use:

Code: Select all

C:\Program Files\Openvpn\easy-rsa\Easyrsa-Start.bat
./easyrsa
Please read the help, that is why it was written.

Post Reply