Set up DS TLS on replica in CA-less topology

Fixes: https://fedorahosted.org/freeipa/ticket/6226
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
Fraser Tweedale authored and Martin Basti committed 2017-01-05 10:17:00 +01:00
1 parent 987d24f784
commit 6f7d982fe2
1 file changed
+3 -1
+3 -1
View File
@@ -390,7 +390,9 @@ class DsInstance(service.Service):
self.step("creating DS keytab", self._request_service_keytab)
if self.promote:
if self.ca_is_configured:
if self.pkcs12_info:
self.step("configuring ssl for ds instance", self.__enable_ssl)
else:
self.step("retrieving DS Certificate", self.__get_ds_cert)
self.step("restarting directory server", self.__restart_instance)