Removing or re-enrolling a node now revokes its certificates
TL;DR: When a node is removed, or enrolled again with a new node key, every certificate issued to it so far stops working within a minute. An enrollment token now gives exactly one node key, even when it's used twice at once.
Since nodes started signing in with a certificate of their own, the CDN could refuse a revoked certificate, but nothing ever revoked one. A node that was removed, or enrolled again with a new node key, kept certificates that still worked until they expired, up to 30 days later. Separately, one enrollment token used twice at the same moment could give out two node keys instead of one.
Both gaps are now closed. Removing a node, or enrolling or provisioning it again with a new node key, revokes every certificate issued to it so far, and the CDN refuses them within a minute. An enrollment token now gives exactly one node key: if it’s used twice at once, the second attempt is refused.
No incident of this has occurred. This is a proactive security fix.
What happens
- Old certificates stop working within a minute. The CDN checks every certificate sign-in against the node’s record.
- A re-enrolled node gets a new certificate straight away. Only the certificates issued before the new node key are refused.
- If the revocation can’t be recorded, nothing changes. The node isn’t removed, its key isn’t replaced, and the enrollment token can still be used.
- We can also revoke a node’s certificate on its own, for example if we suspect it has been copied. A node whose certificate is revoked can’t get a new one until the block is cleared.
Limits
- A node whose certificate is revoked keeps working on its node key. Removing the node is what stops it, because that deletes its key.
- Only removing a node revokes its certificates. The automatic cleanup of nodes that have gone quiet doesn’t.
- A node isn’t told its certificate was revoked. It keeps presenting the old one, and signs in with its node key, until it renews in the certificate’s last week. That is harmless while certificates aren’t required.
What you need to do
Nothing. This is on the CDN’s side and applies to every node.