summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-replica-prepare
diff options
context:
space:
mode:
Diffstat (limited to 'install/tools/ipa-replica-prepare')
-rwxr-xr-xinstall/tools/ipa-replica-prepare5
1 files changed, 5 insertions, 0 deletions
diff --git a/install/tools/ipa-replica-prepare b/install/tools/ipa-replica-prepare
index af768015..d70741f1 100755
--- a/install/tools/ipa-replica-prepare
+++ b/install/tools/ipa-replica-prepare
@@ -242,6 +242,11 @@ def main():
api.bootstrap(in_server=True)
api.finalize()
+ #Automatically disable pkinit w/ dogtag until that is supported
+ #[certs.ipa_self_signed() must be called only after api.finalize()]
+ if not options.pkinit_pkcs12 and not certs.ipa_self_signed():
+ options.setup_pkinit = False
+
if options.ip_address:
if not bindinstance.dns_container_exists(api.env.host, api.env.realm):
print "You can't add a DNS record because DNS is not set up."