Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: pki: Use own openssl.conf
......................................................................

packaging: pki: Use own openssl.conf

Do not rely on system-wide openssl conf file.

Change-Id: I74f7000c590144ab821c797897d9036df956973e
Signed-off-by: Yedidyah Bar David <[email protected]>
---
M packaging/bin/pki-common.sh.in
M packaging/pki/openssl.conf
2 files changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/55/25055/1

diff --git a/packaging/bin/pki-common.sh.in b/packaging/bin/pki-common.sh.in
index 12554ff..ad22308 100644
--- a/packaging/bin/pki-common.sh.in
+++ b/packaging/bin/pki-common.sh.in
@@ -3,6 +3,9 @@
 USRDIR="@ENGINE_USR@"
 BINDIR="${USRDIR}/bin"
 
+OPENSSL_CONF="${PKIDIR}/openssl.conf"
+export OPENSSL_CONF
+
 die() {
        local m="$1"
        echo "$m" >&2
diff --git a/packaging/pki/openssl.conf b/packaging/pki/openssl.conf
index 5e6ea0c..a498ebc 100644
--- a/packaging/pki/openssl.conf
+++ b/packaging/pki/openssl.conf
@@ -33,3 +33,8 @@
 organizationalUnitName = optional
 commonName = optional
 emailAddress = optional
+
+[ req ]
+distinguished_name = req_distinguished_name
+
+[ req_distinguished_name ]


-- 
To view, visit http://gerrit.ovirt.org/25055
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I74f7000c590144ab821c797897d9036df956973e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to