Open pgporada opened 1 year ago
One proposed fix for this: Some Boulder component that lives in the EFN (probably the WFE) can periodically fetch the "Top-Level Domain List" linked at the bottom of https://www.iana.org/domains/root/files. Then, at issuance time we can check that all names for issuance end in a current TLD. That would solve both of these cases:
Blocking further issuance of domains with that gTLD Deleting pending authzs for the to-be-blocked gTLD
We wouldn't need to delete the pending authzs because they would not be able to be used in issuance due to the new check.
For revoking existing certificates, it's more work. A sketch of it: Add an automated revocation daemon, similar to bad-key-revoker. This daemon would:
It'll be important to check that IANA's list is in an expected state, before acting on it. We sometimes successfully retrieve the file but find it blank or incomplete. One good check might be to see if any apparently-removed TLDs still have NS records in the root servers.
Depending on how we end up feeling about automating the revocation, it would still be a time-saver to have an interactive command line tool that asks for confirmation but otherwise automates the searches and work.
Some Boulder component ... (probably the WFE)
Ideally a standalone component that can be run as a cron-like task, not reimplementing cron inside the WFE, I think. That makes egress controls easier, as well as observability.
The HTTP fetch doesn't have to be in boulder; that could just be curl
or whatever, and boulder would just need to handle the new file. But it may be simpler to just fetch and process in one custom tool to avoid the need for a driver script.
For several years SRE has relied upon various scripts to monitor IANA gTLD deprecations. When a gTLD is deprecated they have to do toil work such as:
The Baseline Requirements section 4.9.1.1 Reasons for Revoking a Subscriber Certificate state:
The core of the monitoring is currently this slightly edited shell script.
Output produced from that diff will look like