mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
make port flags more visible with better help
This commit is contained in:
parent
5d8127177c
commit
021313acd1
2 changed files with 9 additions and 5 deletions
|
|
@ -790,11 +790,12 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis
|
|||
help=config_help("no_verify_ssl"),
|
||||
default=flag_default("no_verify_ssl"))
|
||||
helpful.add(
|
||||
"testing", "--tls-sni-01-port", type=int,
|
||||
["certonly", "renew", "run"], "--tls-sni-01-port", type=int,
|
||||
default=flag_default("tls_sni_01_port"),
|
||||
help=config_help("tls_sni_01_port"))
|
||||
helpful.add(
|
||||
"testing", "--http-01-port", type=int, dest="http01_port",
|
||||
["certonly", "renew", "run"], "--http-01-port", type=int,
|
||||
dest="http01_port",
|
||||
default=flag_default("http01_port"), help=config_help("http01_port"))
|
||||
helpful.add(
|
||||
"testing", "--break-my-certs", action="store_true",
|
||||
|
|
|
|||
|
|
@ -229,11 +229,14 @@ class IConfig(zope.interface.Interface):
|
|||
no_verify_ssl = zope.interface.Attribute(
|
||||
"Disable verification of the ACME server's certificate.")
|
||||
tls_sni_01_port = zope.interface.Attribute(
|
||||
"Port number to perform tls-sni-01 challenge. "
|
||||
"Boulder in testing mode defaults to 5001.")
|
||||
"Port used during tls-sni-01 challenge. "
|
||||
"This only affects the port Certbot listens on. "
|
||||
"A conforming ACME server will still attempt to connect on port 443.")
|
||||
|
||||
http01_port = zope.interface.Attribute(
|
||||
"Port used in the SimpleHttp challenge.")
|
||||
"Port used in the http-01 challenge."
|
||||
"This only affects the port Certbot listens on. "
|
||||
"A conforming ACME server will still attempt to connect on port 80.")
|
||||
|
||||
|
||||
class IInstaller(IPlugin):
|
||||
|
|
|
|||
Loading…
Reference in a new issue