[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
This bug was fixed in the package openvpn - 2.2.1-8ubuntu1.2 --- openvpn (2.2.1-8ubuntu1.2) precise-proposed; urgency=low * d/p/lp992012-detect-openssl-properly.patch: fix "openssl.cnf file could be found" error using easy-rsa by parsing openssl version properly. (LP: #992012) -- Nobuto MURATATue, 18 Feb 2014 14:35:32 +0900 ** Changed in: openvpn (Ubuntu Precise) Status: Fix Committed => Fix Released -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
I confirmed that openvpn 2.2.1-8ubuntu1.2/precise-proposed works as expected and passes the test case above. ** Tags removed: verification-needed ** Tags added: verification-done -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
** Branch linked: lp:ubuntu/precise-proposed/openvpn -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
Hello Munzir, or anyone else affected, Accepted openvpn into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/openvpn/2.2.1-8ubuntu1.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: openvpn (Ubuntu Precise) Status: Confirmed => Fix Committed ** Tags added: verification-needed -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
ACK on the debdiff in #10, looks good. I've uploaded the package to precise-proposed for processing by the SRU team. Thanks! -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
** Also affects: openvpn (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: easy-rsa (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: openvpn (Ubuntu) Status: Confirmed => Invalid ** Changed in: easy-rsa (Ubuntu Precise) Status: New => Invalid ** Changed in: openvpn (Ubuntu Precise) Status: New => Confirmed -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
** Also affects: easy-rsa (Ubuntu) Importance: Undecided Status: New ** Changed in: easy-rsa (Ubuntu) Status: New => Fix Released -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
** 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 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
--- Ubuntu Bug Squad volunteer triager http://wiki.ubuntu.com/BugSquad ** Patch added: "precise-sru-openvpn_2.2.1-8ubuntu1.1.debdiff" https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/992012/+attachment/3984836/+files/precise-sru-openvpn_2.2.1-8ubuntu1.1.debdiff -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
I will attach a debdiff for precise SRU. It looks like only precise is affected in current supported releases. openssl | 0.9.8k-7ubuntu8| lucid| source openssl | 0.9.8k-7ubuntu8.15 | lucid-security | source openssl | 0.9.8k-7ubuntu8.15 | lucid-updates| source openssl | 1.0.1-4ubuntu3 | precise | source openssl | 1.0.1-4ubuntu5.11 | precise-security | source openssl | 1.0.1-4ubuntu5.11 | precise-updates | source openssl | 1.0.1c-3ubuntu2| quantal | source openssl | 1.0.1c-3ubuntu2.6 | quantal-security | source openssl | 1.0.1c-3ubuntu2.6 | quantal-updates | source openssl | 1.0.1e-3ubuntu1| saucy| source openssl | 1.0.1e-3ubuntu1.1 | saucy-security | source openssl | 1.0.1e-3ubuntu1.1 | saucy-updates| source openssl | 1.0.1f-1ubuntu1| trusty | source -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
Debian, CentOS and Fedora all have beside only number in vrersion also one character in version of openssl, for example: OpenSSL 1.0.1c 10 May 2012 Why is Ubuntu missing this alphanumeric character? -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
I tried editing manually both versions of whichopensslcnf, I used: "elif $OPENSSL version | grep -E "1\.0\.[[:digit:]][[:alnum:]]?" > /dev/null; then" but I still get missing file error: # ./build-ca grep: /etc/openvpn/easy-rsa/openssl.cnf: No such file or directory pkitool: KEY_CONFIG (set by the ./vars script) is pointing to the wrong version of openssl.cnf: /etc/openvpn/easy-rsa/openssl.cnf The correct version should have a comment that says: easy-rsa version 2.x Guys this is really sloppy package maintenance, this should be fixed with highest priority. -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
Why am I still seeing this bug? It looks like this patch doesn't help in any way, or there was some other regresion in the mean time... -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
** Changed in: openvpn Status: Confirmed => Fix Released -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
** Changed in: openvpn Status: New => Confirmed -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
The patch was accepted upstream: https://github.com/OpenVPN/easy- rsa/commit/a812fed7fbc39d4936c348d4a1a9c0e07e6d65f6 -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
@Munzir, your patch is in the wrong order. Here is a minimal patch hoping this could be SRUed. ** Patch added: "Make the trailing alpha numeric character of the version string optional" https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/992012/+attachment/3123595/+files/whichopensslcnf.patch -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
** Changed in: openvpn (Ubuntu) Status: New => Confirmed -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
The attachment "whichopensslcnf-patch.txt" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
** Changed in: openvpn Status: Unknown => New -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
** Bug watch added: community.openvpn.net/openvpn/ #202 https://community.openvpn.net/openvpn/ticket/202 ** Also affects: openvpn via https://community.openvpn.net/openvpn/ticket/202 Importance: Unknown Status: Unknown -- 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
[Bug 992012] Re: No /openssl.cnf file could be found because of a wrong regex in whichopensslcnf
A patch to fix the issue ** Attachment added: "whichopensslcnf-patch.txt" https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/992012/+attachment/3120947/+files/whichopensslcnf-patch.txt -- 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