Replica installation fails for self-signed server

When IPA server was configured as self-signed (--selfsign option)
the replica always failed to install.

https://fedorahosted.org/freeipa/ticket/1122
This commit is contained in:
Martin Kosek authored and Rob Crittenden committed 2011-03-30 10:00:13 -04:00
1 parent cb5e709e7d
commit 6fbe0e86e9
1 file changed
+2 -1
+2 -1
View File
@@ -153,7 +153,8 @@ def install_ca(config):
cafile = config.dir + "/cacert.p12"
if not ipautil.file_exists(cafile):
return None
# CA not used on the server, return empty instances
return (None, None)
try:
from ipaserver.install import cainstance