certbot.plugins.common¶
Plugin common functions.
- certbot.plugins.common.option_namespace(name)[source]¶
ArgumentParser options namespace (prefix of all options).
- certbot.plugins.common.dest_namespace(name)[source]¶
ArgumentParser dest namespace (prefix of all destinations).
- class certbot.plugins.common.Plugin(config, name)[source]¶
Bases: object
Generic plugin.
- classmethod add_parser_arguments(add)[source]¶
Add plugin arguments to the CLI argument parser.
NOTE: If some of your flags interact with others, you can use cli.report_config_interaction to register this to ensure values are correctly saved/overridable during renewal.
Parameters: add (callable) – Function that proxies calls to argparse.ArgumentParser.add_argument prepending options with unique plugin name prefix.
- class certbot.plugins.common.Addr(tup, ipv6=False)[source]¶
Bases: object
Represents an virtual host address.
Parameters: - addr (str) – addr part of vhost address
- port (str) – port number or *, or “”
- class certbot.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