[Solved] bug on vars.bat.sample file on last version of openVPN

Support forum for Easy-RSA certificate management suite.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Locked
videopache
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 14, 2017 11:57 am

[Solved] bug on vars.bat.sample file on last version of openVPN

Post by videopache » Mon Aug 14, 2017 12:14 pm

Hi, i found that i can not run the vars.bat file which is generated based on vars.bat.sample file at from the last version of openVPN (2.4.3-I602). When i try to run the vars.bat in Windows i receive the folowing error:

D:\openvpn\easy-rsa>vars
'#' is not recognized as an internal or external command,operable program or batch file.

I suppose that is because the pound character (#) from line 26 of vars.bat.sample is :

#Private key size
set KEY_SIZE=4096

and not:

rem Increase this to 2048 if you
rem are paranoid. This will slow
rem down TLS negotiation performance
rem as well as the one-time DH parms
rem generation process.
set KEY_SIZE=1024

as it was in the previous versions of openVPN or at least in openvpn-install-2.3.12-I602-x86_64 which i checked.
I missed something ?
Thanks !

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Possible bug on vars.bat.sample file on last version of openVPN

Post by TinCanTech » Mon Aug 14, 2017 1:05 pm

Yes, this looks like a minor bug, thanks for reporting it.

User avatar
samuli
OpenVPN Inc.
Posts: 49
Joined: Fri Aug 13, 2010 9:05 pm

Re: Possible bug on vars.bat.sample file on last version of openVPN

Post by samuli » Mon Aug 28, 2017 12:23 pm

Fixed by https://github.com/OpenVPN/easy-rsa-old/pull/4. The fix will be included in the next OpenVPN Windows installer bundle.
--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

Locked