summaryrefslogtreecommitdiffstats
path: root/ipalib/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r--ipalib/constants.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py
index 2269189f4..8ae545526 100644
--- a/ipalib/constants.py
+++ b/ipalib/constants.py
@@ -22,6 +22,7 @@
All constants centralised in one file.
"""
import socket
+from ipaplatform.paths import paths
from ipapython.dn import DN
from ipapython.version import VERSION, API_VERSION
@@ -34,7 +35,7 @@ except:
FQDN = None
# Path to CA certificate bundle
-CACERT = '/etc/ipa/ca.crt'
+CACERT = paths.IPA_CA_CRT
# regular expression NameSpace member names must match:
NAME_REGEX = r'^[a-z][_a-z0-9]*[a-z0-9]$|^[a-z]$'