mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added warning if cert '/etc/ipa/ca.crt' exists
https://fedorahosted.org/freeipa/ticket/3944
This commit is contained in:
committed by
Martin Kosek
parent
ed3d184a7d
commit
c49cf9572a
@@ -1889,6 +1889,10 @@ def install(options, env, fstore, statestore):
|
||||
root_logger.warning("Option 'force-join' has no additional effect "
|
||||
"when used with together with option 'keytab'.")
|
||||
|
||||
# Check if old certificate exist and show warning
|
||||
if not options.ca_cert_file and get_cert_path(options.ca_cert_file) == CACERT:
|
||||
root_logger.warning("Using existing certificate '%s'.", CACERT)
|
||||
|
||||
# Create the discovery instance
|
||||
ds = ipadiscovery.IPADiscovery()
|
||||
|
||||
|
Reference in New Issue
Block a user