certwrangler.schema_migrations module

certwrangler.schema_migrations module#

This module contains state schema migrations that should be applied.

certwrangler.schema_migrations._cert_migration_00_add_chain(data: Dict[str, Any]) Dict[str, Any][source]#

Switch from storing the CA and intermediate(s) separately to a generic chain field.

This is done to more accurately represent what is returned from the ACME server based on RFC 8555. The trust anchor (CA cert) is not required to be returned, but can be optionally.