[Bug 992012] [NEW] No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf

Launchpad Bug Tracker 992012 at bugs.launchpad.net
Tue Feb 18 06:10:10 UTC 2014


You have been subscribed to a public bug by Nobuto MURATA (nobuto):

[Impact]

 * Cannot create a CA or cert using easy-rsa.
 * Cannot complete the steps described in Ubuntu Server Guide:
   https://help.ubuntu.com/12.04/serverguide/openvpn.html

[Test Case]
 1. After installing openvpn package, execute following commands:
    $ sudo -i
    # mkdir /etc/openvpn/easy-rsa/
    # cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/
    # cd /etc/openvpn/easy-rsa/
    # source vars
 2. Then hit an error:
    **************************************************************
      No /etc/openvpn/easy-rsa/openssl.cnf file could be found
      Further invocations will fail
    **************************************************************
    NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/keys
 3. update the package to -proposed one
 4. verify we don't hit the error in step 2 and we can execute "./build-ca" with no error.


[Regression Potential] 

 * minimal
   The patch makes last [[:alnum:]] as optional, nothing will be narrowed down.

[Other Info]
 
 * trusty and raring are not affected:
   - trusty has upstream fix already in easy-rsa package cut off from openvpn package.
 * quantal is also not affected:
   - quantal's openssl can be parsed without a patch.


-- original description --

/usr/share/doc/openvpn/examples/easy-rsa/2.0/whichopensslcnf contains

elif $OPENSSL version | grep -E "1\.0\.([[:digit:]][[:alnum:]])" >
/dev/null; then

which won't match the openssl version in precise

$ openssl version
OpenSSL 1.0.1 14 Mar 2012

** Affects: openvpn
     Importance: Unknown
         Status: Fix Released

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: patch
-- 
No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
https://bugs.launchpad.net/bugs/992012
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list