summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-04-01 22:39:44 -0400
committerRob Crittenden <rcritten@redhat.com>2009-04-03 14:06:09 -0400
commit484eff1016ab00cc7c3c3dc4be3fb0fd7179a994 (patch)
tree65965f10a2f4b1650bbef5de667a6f6d1a882c42 /ipaserver/plugins
parenta6294ba041aa4568b414b5f25a345c00a031667e (diff)
downloadfreeipa-484eff1016ab00cc7c3c3dc4be3fb0fd7179a994.tar.gz
freeipa-484eff1016ab00cc7c3c3dc4be3fb0fd7179a994.tar.xz
freeipa-484eff1016ab00cc7c3c3dc4be3fb0fd7179a994.zip
Implement an installer for the Dogtag certificate system.
The CA is currently not automatically installed. You have to pass in the --ca flag to install it. What works: - installation - unistallation - cert/ra plugins can issue and retrieve server certs What doesn't work: - self-signed CA is still created and issues Apache and DS certs - dogtag and python-nss not in rpm requires - requires that CS be in the "pre" install state from pkicreate
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r--ipaserver/plugins/ra.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipaserver/plugins/ra.py b/ipaserver/plugins/ra.py
index a52909f6..d8a70864 100644
--- a/ipaserver/plugins/ra.py
+++ b/ipaserver/plugins/ra.py
@@ -55,7 +55,10 @@ class ra(Backend):
Request Authority backend plugin.
"""
def __init__(self):
- self.sec_dir = api.env.dot_ipa + os.sep + 'alias'
+ if api.env.home:
+ self.sec_dir = api.env.dot_ipa + os.sep + 'alias'
+ else:
+ self.sec_dir = "/etc/ipa/ra" + os.sep + 'alias'
self.pwd_file = self.sec_dir + os.sep + '.pwd'
self.noise_file = self.sec_dir + os.sep + '.noise'
self.ipa_key_size = "2048"