summaryrefslogtreecommitdiffstats
path: root/ipalib/x509.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/x509.py')
-rw-r--r--ipalib/x509.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/x509.py b/ipalib/x509.py
index 4be46e144..88ea415bf 100644
--- a/ipalib/x509.py
+++ b/ipalib/x509.py
@@ -71,7 +71,7 @@ def subject_base():
return _subject_base
def valid_issuer(issuer):
- if not api.env.enable_ra:
+ if not api.Command.ca_is_enabled()['result']:
return True
# Handle all supported forms of issuer -- currently dogtag only.
if api.env.ra_plugin == 'dogtag':