certbot.cert_manager

Tools for managing certificates.

Update the certificate file family symlinks to use archive_dir.

Use the information in the config file to make symlinks point to the correct archive directory.

Note

This assumes that the installation is using a Reverter object.

Parameters:config (certbot.configuration.NamespaceConfig) – Configuration.
certbot.cert_manager.rename_lineage(config)[source]

Rename the specified lineage to the new name.

Parameters:config (certbot.configuration.NamespaceConfig) – Configuration.
certbot.cert_manager.certificates(config)[source]

Display information about certs configured with Certbot

Parameters:config (certbot.configuration.NamespaceConfig) – Configuration.
certbot.cert_manager.delete(config)[source]

Delete Certbot files associated with a certificate lineage.

certbot.cert_manager.lineage_for_certname(cli_config, certname)[source]

Find a lineage object with name certname.

certbot.cert_manager.domains_for_certname(config, certname)[source]

Find the domains in the cert with name certname.

certbot.cert_manager.find_duplicative_certs(config, domains)[source]

Find existing certs that duplicate the request.

certbot.cert_manager._get_certname(config, verb)[source]

Get certname from flag, interactively, or error out.

certbot.cert_manager._report_lines(msgs)[source]

Format a results report for a category of single-line renewal outcomes

certbot.cert_manager._report_human_readable(config, parsed_certs)[source]

Format a results report for a parsed cert

certbot.cert_manager._describe_certs(config, parsed_certs, parse_failures)[source]

Print information about the certs we know about

certbot.cert_manager._search_lineages(cli_config, func, initial_rv)[source]

Iterate func over unbroken lineages, allowing custom return conditions.

Allows flexible customization of return values, including multiple return values and complex checks.