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

Nobuto MURATA nobuto at nobuto-murata.org
Tue Feb 18 06:08:44 UTC 2014


** Description changed:

+ [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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/992012

Title:
  No /openssl.cnf file could be found because of a wrong regex in
  whichopensslcnf

To manage notifications about this bug go to:
https://bugs.launchpad.net/openvpn/+bug/992012/+subscriptions



More information about the Ubuntu-server-bugs mailing list