From b3a45cf2ab44539d08ab4f23cc408a26e8f99137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Tue, 10 Jan 2017 15:01:16 +0200 Subject: [PATCH] Expose insecure flag for turning off HTTPS --- certidude/cli.py | 5 +++++ 1 file changed, 5 insertions(+) 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