← SecurityX/CASP+: architecture and secure operations
05 / 8 · 55 MIN

Certificates, keys, and cryptography

Separate identity, key purpose, and encrypted-data lifecycle.

Concept and mechanism

Certificate validation requires more than checking that dates remain valid. The client needs to trust the chain, recognize the intended identity, and respect usage restrictions. In a client following RFC 9525, the hostname should match the appropriate subjectAltName identity; commonName does not replace that condition. When keyUsage and extendedKeyUsage are present, the purpose must satisfy both under RFC 5280. Key management introduces another boundary: rotating AWS_KMS-origin symmetric KMS key material preserves the logical key and earlier material needed for decryption. It neither automatically re-encrypts data nor replaces an exposed data key.

Guided application

In a fictional decommission, retained backups still depend on a key that appears inactive in billing. Before deletion, map data and establish its recovery destination. Pending deletion already prevents key cryptographic operations; it is not normal use until the final day. For post-quantum evolution, identify functions instead of swapping names: ML-KEM establishes a shared secret and ML-DSA provides signatures. Integration should consider implementation, parameters, trust, and errata notices without promising absolute immunity. Finally, performance can change guarantees: TLS 1.3 early data can be replayed. An API with non-idempotent effects needs replay treatment and application rules, not merely channel encryption.

IN PRACTICE

Rotating the key protecting a data key does not erase an exposed copy of that data key.

Common pitfalls

CN as SAN; alias as material; rotation as re-encryption; signature as encryption; 0-RTT as exactly-once execution.

Related topics: Governance, risk, and exceptions · Suppliers, data, and threats · Resilience and recovery dependencies

Take this idea with you

Validate the specific property each mechanism provides.

Create account

Reference: PKIX certificate and extension constraints · CAS-005 / SecurityX V5; objectives 3.0; launched 2024-12-17