letsencrypt.configuration¶
Let’s Encrypt user-supplied configuration.
-
class
letsencrypt.configuration.NamespaceConfig(namespace)[source]¶ Bases:
objectConfiguration wrapper around
argparse.Namespace.For more documentation, including available attributes, please see
letsencrypt.interfaces.IConfig. However, note that the following attributes are dynamically resolved usingwork_dirand relative paths defined inletsencrypt.constants:accounts_dircsr_dirin_progress_dirkey_dirrenewer_config_filetemp_checkpoint_dir
Variables: namespace – Namespace typically produced by argparse.ArgumentParser.parse_args().-
server_path¶ File path based on
server.
-
class
letsencrypt.configuration.RenewerConfiguration(namespace)[source]¶ Bases:
objectConfiguration wrapper for renewer.
-
letsencrypt.configuration.check_config_sanity(config)[source]¶ Validate command line options and display error message if requirements are not met.
Parameters: config – IConfig instance holding user configuration
-
letsencrypt.configuration._check_config_domain_sanity(domains)[source]¶ Helper method for check_config_sanity which validates domain flag values and errors out if the requirements are not met.
Parameters: domains ( listofstring) – List of domainsRaises ConfigurationError: for invalid domains and cases where Let’s Encrypt currently will not issue certificates