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:
objectGeneric plugin.
-
option_namespace¶ ArgumentParser options namespace (prefix of all options).
-
dest_namespace¶ ArgumentParser dest namespace (prefix of all destinations).
-
-
class
letsencrypt.plugins.common.Addr(tup)[source]¶ Bases:
objectRepresents an virtual host address.
Parameters: - addr (str) – addr part of vhost address
- port (str) – port number or *, or “”
-
class
letsencrypt.plugins.common.TLSSNI01(configurator)[source]¶ Bases:
objectAbstract 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
-