certbot.plugins.webroot

Webroot plugin.

class certbot.plugins.webroot.Authenticator(*args, **kwargs)[source]

Bases: certbot.plugins.common.Plugin

Webroot Authenticator.

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.webroot._WebrootMapAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]

Bases: argparse.Action

Action class for parsing webroot_map.

class certbot.plugins.webroot._WebrootPathAction(*args, **kwargs)[source]

Bases: argparse.Action

Action class for parsing webroot_path.

certbot.plugins.webroot._validate_webroot(webroot_path)[source]

Validates and returns the absolute path of webroot_path.

Parameters:webroot_path (str) – path to the webroot directory
Returns:absolute path of webroot_path
Return type:str