mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: Respect platform's openssl dir
There are different build configurations of OpenSSL from one distro to another. For example, Debian: '--openssldir=/usr/lib/ssl', Fedora: '--openssldir=/etc/pki/tls', openSUSE: '--openssldir=/etc/ssl', ALTLinux: '--openssldir=/var/lib/ssl'. Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
committed by
Alexander Bokovoy
parent
a33530f2f6
commit
be006ad6c4
@@ -215,6 +215,9 @@ class BasePathNamespace:
|
||||
ODS_ENFORCER = "/usr/sbin/ods-enforcer"
|
||||
ODS_ENFORCER_DB_SETUP = "/usr/sbin/ods-enforcer-db-setup"
|
||||
OPENSSL = "/usr/bin/openssl"
|
||||
OPENSSL_DIR = "/etc/pki/tls"
|
||||
OPENSSL_CERTS_DIR = "/etc/pki/tls/certs"
|
||||
OPENSSL_PRIVATE_DIR = "/etc/pki/tls/private"
|
||||
PK12UTIL = "/usr/bin/pk12util"
|
||||
SOFTHSM2_UTIL = "/usr/bin/softhsm2-util"
|
||||
SSLGET = "/usr/bin/sslget"
|
||||
|
||||
@@ -43,6 +43,9 @@ class DebianPathNamespace(BasePathNamespace):
|
||||
NAMED_MANAGED_KEYS_DIR = "/var/cache/bind/dynamic"
|
||||
CHRONY_CONF = "/etc/chrony/chrony.conf"
|
||||
OPENLDAP_LDAP_CONF = "/etc/ldap/ldap.conf"
|
||||
OPENSSL_DIR = "/usr/lib/ssl"
|
||||
OPENSSL_CERTS_DIR = "/usr/lib/ssl/certs"
|
||||
OPENSSL_PRIVATE_DIR = "/usr/lib/ssl/private"
|
||||
ETC_DEBIAN_VERSION = "/etc/debian_version"
|
||||
# Old versions of freeipa wrote all trusted certificates to a single
|
||||
# file, which is not supported by ca-certificates.
|
||||
|
||||
@@ -29,6 +29,9 @@ class SusePathNamespace(BasePathNamespace):
|
||||
NAMED_CUSTOM_OPTIONS_CONF = "/etc/named.d/ipa-options-ext.conf"
|
||||
NAMED_VAR_DIR = "/var/lib/named"
|
||||
NAMED_MANAGED_KEYS_DIR = "/var/lib/named/dyn"
|
||||
OPENSSL_DIR = "/etc/ssl"
|
||||
OPENSSL_CERTS_DIR = "/etc/ssl/certs"
|
||||
OPENSSL_PRIVATE_DIR = "/etc/ssl/private"
|
||||
IPA_P11_KIT = "/etc/pki/trust/ipa.p11-kit"
|
||||
# Those files are only here to be able to configure them, we copy those in
|
||||
# rpm spec to fillupdir
|
||||
|
||||
Reference in New Issue
Block a user