diff --git a/certidude/cli.py b/certidude/cli.py index 0c823fb..f78c0ac 100755 --- a/certidude/cli.py +++ b/certidude/cli.py @@ -81,6 +81,10 @@ def certidude_request(fork): os.makedirs(run_dir) for authority in clients.sections(): + try: + endpoint_insecure = clients.getboolean(authority, "insecure") + except NoOptionError: + endpoint_insecure = False try: endpoint_common_name = clients.get(authority, "common name") except NoOptionError: @@ -166,6 +170,7 @@ def certidude_request(fork): endpoint_common_name, extended_key_usage_flags, None, + insecure=endpoint_insecure, autosign=True, wait=True) break