letsencrypt.configuration
¶
Let’s Encrypt user-supplied configuration.
-
class
letsencrypt.configuration.
NamespaceConfig
(namespace)[source]¶ Bases:
object
Configuration 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_dir
and relative paths defined inletsencrypt.constants
:accounts_dir
csr_dir
in_progress_dir
key_dir
renewer_config_file
temp_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:
object
Configuration 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 ( list
ofstring
) – List of domainsRaises ConfigurationError: for invalid domains and cases where Let’s Encrypt currently will not issue certificates