From 8883bd76fd8beb44de6e1f7fe0addc551b4bc78e Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Thu, 11 Jun 2015 18:05:00 +0000 Subject: [PATCH] Add --no-simple-http-tls. --- letsencrypt/cli.py | 3 +++ letsencrypt/interfaces.py | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/letsencrypt/cli.py b/letsencrypt/cli.py index 4b0e271f7..3bdf2bfc6 100644 --- a/letsencrypt/cli.py +++ b/letsencrypt/cli.py @@ -252,6 +252,9 @@ def create_parser(plugins): add("-t", "--text", dest="text_mode", action="store_true", help="Use the text output instead of the curses UI.") + add("--no-simple-http-tls", action="store_true", + help=config_help("no_simple_http_tls")) + testing_group = parser.add_argument_group( "testing", description="The following flags are meant for " "testing purposes only! Do NOT change them, unless you " diff --git a/letsencrypt/interfaces.py b/letsencrypt/interfaces.py index e47eea6cc..c0d44a134 100644 --- a/letsencrypt/interfaces.py +++ b/letsencrypt/interfaces.py @@ -188,6 +188,10 @@ class IConfig(zope.interface.Interface): "Port number to perform DVSNI challenge. " "Boulder in testing mode defaults to 5001.") + # TODO: not implemented + no_simple_http_tls = zope.interface.Attribute( + "Do not use TLS when solving SimpleHTTP challenges.") + class IInstaller(IPlugin): """Generic Let's Encrypt Installer Interface.