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

valent 992012 at bugs.launchpad.net
Sat Nov 2 20:13:38 UTC 2013


Upon further inspection here is what happens, regex now works if you use

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

in file "whichopensslcnf"

Here is how grep regex works on the command line:
# openssl version | grep -E "1\.0\.[[:digit:]][[:alnum:]]?
OpenSSL 1.0.1 14 Mar 2012

So you need to add new elif for version 1.0.1 because there is no config
file for 1.0.1, and fallback file "openssl.cnf" is missing!!!

root at vpn:/etc/openvpn/easy-rsa# ls -al *.cnf
-rw-r--r-- 1 root root 7768 Nov  2 15:28 openssl-0.9.6.cnf
-rw-r--r-- 1 root root 8325 Nov  2 15:28 openssl-0.9.8.cnf
-rw-r--r-- 1 root root 8222 Nov  2 15:28 openssl-1.0.0.cnf

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