letsencrypt.plugins.common
¶
Plugin common functions.
-
letsencrypt.plugins.common.
option_namespace
(name)[source]¶ ArgumentParser options namespace (prefix of all options).
-
letsencrypt.plugins.common.
dest_namespace
(name)[source]¶ ArgumentParser dest namespace (prefix of all destinations).
-
class
letsencrypt.plugins.common.
Plugin
(config, name)[source]¶ Bases:
object
Generic plugin.
-
option_namespace
¶ ArgumentParser options namespace (prefix of all options).
-
dest_namespace
¶ ArgumentParser dest namespace (prefix of all destinations).
-
classmethod
inject_parser_options
(parser, name)[source]¶ Inject parser options.
See
inject_parser_options
for docs.
-
classmethod
add_parser_arguments
(add)[source]¶ Add plugin arguments to the CLI argument parser.
Parameters: add (callable) – Function that proxies calls to argparse.ArgumentParser.add_argument
prepending options with unique plugin name prefix.
-
-
class
letsencrypt.plugins.common.
Addr
(tup)[source]¶ Bases:
object
Represents an virtual host address.
Parameters:
-
class
letsencrypt.plugins.common.
TLSSNI01
(configurator)[source]¶ Bases:
object
Abstract base for TLS-SNI-01 challenge performers
-
add_chall
(achall, idx=None)[source]¶ Add challenge to TLSSNI01 object to perform at once.
Parameters: - achall (KeyAuthorizationAnnotatedChallenge) – Annotated TLSSNI01 challenge.
- idx (int) – index to challenge in a larger array
-
get_cert_path
(achall)[source]¶ Returns standardized name for challenge certificate.
Parameters: achall (KeyAuthorizationAnnotatedChallenge) – Annotated tls-sni-01 challenge. Returns: certificate file name Return type: str
-