mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Automatically disable pkinit when not supported
This commit is contained in:
parent
cbddbc2fbb
commit
5d5ec15ee5
@ -176,6 +176,10 @@ def parse_options():
|
||||
if (options.external_cert_file and not os.path.isabs(options.external_cert_file)):
|
||||
parser.error("--external-cert-file must use an absolute path")
|
||||
|
||||
#Automatically disable pkinit w/ dogtag until that is supported
|
||||
if not options.pkinit_pkcs12 and not options.selfsign:
|
||||
options.setup_pkinit = False
|
||||
|
||||
return safe_options, options
|
||||
|
||||
def signal_handler(signum, frame):
|
||||
|
Loading…
Reference in New Issue
Block a user