On Wed, Nov 13, 2013 at 3:24 AM, Sebastian Arcus <[email protected]> wrote:

> According to internet posts, this bug seems to have been lurking around
> for a while. Strangely, last time I used the easy-rsa scripts (maybe
> about a year ago), everything seemed fine.
>
> The "vars" script contains the following line:
>
> # This variable should point to
> # the openssl.cnf file included
> # with easy-rsa.
> export KEY_CONFIG=`$EASY_RSA/whichopenssl $EASY_RSA`
>

I don't know when the change was introduced, but the copy of easy-rsa in
Tunnelblick, "version 2.0", taken from the OpenVPN source in March 2012
(before easy-rsa was separated from OpenVPN) has a different line:

export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`

Because "whichopensslcnf" is a shell script residing in the "easy-rsa"
folder, that makes more sense.


So the line should read:
>
> export KEY_CONFIG="$EASY_RSA/whichopenssl"
>

Probably not -- I think it should read:

export KEY_CONFIG=`"$EASY_RSA/whichopensslcnf" "$EASY_RSA"`

The double-quotes are so spaces in the path contained in $EASY_RSA do not
cause problems. (Tunnelblick contains a version of easy-rsa patched
extensively to deal with such spaces; the problem occurs throughout
easy-rsa 2.0.)
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to