mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Make retrieval of the CA during DNS discovery non-fatal.
ticket 1135
This commit is contained in:
parent
8719336652
commit
b3a85890ef
@ -185,7 +185,8 @@ class IPADiscovery:
|
||||
try:
|
||||
run(["/usr/bin/wget", "-O", "%s/ca.crt" % temp_ca_dir, "http://%s/ipa/config/ca.crt" % thost])
|
||||
except CalledProcessError, e:
|
||||
raise RuntimeError('Retrieving CA from %s failed.\n%s' % (thost, str(e)))
|
||||
logging.debug('Retrieving CA from %s failed.\n%s' % (thost, str(e)))
|
||||
return []
|
||||
|
||||
#now verify the server is really an IPA server
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user