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@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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs