Request a Consultation

Insights · Cybersecurity

Cryptography hygiene: TLS, key management and post-quantum readiness

By the Cystem X Engineering Team - Published - 5 min read

Cryptography protects almost everything, yet it is rarely inventoried or reviewed. Weak protocols, forgotten certificates and poorly guarded keys cause outages and breaches, and the coming transition to post-quantum algorithms will require organizations to find every place cryptography is used. Good hygiene today makes that transition manageable.

Build a cryptographic inventory

List where cryptography is used: TLS endpoints, VPNs, databases, backups, code signing, messaging, and embedded devices. For each, record the algorithms, key sizes, libraries, certificates and owners.

Scanning tools help find TLS configurations, but application code and hardware often need manual review.

Configure TLS well

Require modern protocol versions, disable legacy protocols and weak ciphers, and prefer forward secrecy. Use automated certificate issuance and renewal so that expiry stops being an incident source.

Test configurations regularly with scanners and monitor certificate transparency logs for unexpected certificates issued for your domains.

Cryptography you cannot inventory is cryptography you cannot migrate.
Dark printed circuit board with fine silver traces
Hardware security modules and secure elements anchor trust.

Manage keys through their lifecycle

Keys need generation with good randomness, secure storage, restricted access, rotation, backup, revocation and destruction. Use a key management service or hardware security module rather than storing keys beside the data they protect.

Separate duties so that no single person can both administer keys and access encrypted data without oversight.

Protect secrets in applications

Remove credentials from source code, images and configuration files. Use a secrets manager with short-lived credentials and audit logging.

Rotate any secret that may have been exposed, and prefer workload identity over long-lived static keys.

Close-up of electronic components on a circuit board
Embedded devices often need the longest planning for new algorithms.

Choose algorithms deliberately

Use well-reviewed standard algorithms and vetted libraries. Do not invent your own schemes. Keep a policy that lists approved algorithms and key lengths, and retire those that standards bodies deprecate.

Build crypto agility into designs so algorithms can be changed without redesigning systems.

Prepare for post-quantum cryptography

Standards bodies have published the first post-quantum standards, including lattice-based key establishment and signature schemes. Data that must stay confidential for many years may be harvested now and decrypted later, which makes planning urgent for long-lived secrets.

Start with the inventory, identify long-lived sensitive data and systems that are hard to update, and follow vendor roadmaps. Hybrid approaches that combine classical and post-quantum algorithms are an expected transition path.

Laptop displaying a secure padlock on a table
Certificates and TLS configuration are visible to every user.

Operate and audit

Monitor certificate and key expiry, review access to key stores and test recovery procedures. Include cryptography in architecture reviews and incident plans, including how to respond if a key is compromised.

Document ownership. Cryptographic assets without owners are the ones that expire unnoticed.

Key takeaways

  • Inventory cryptographic use, algorithms and owners.
  • Automate certificate renewal and enforce modern TLS settings.
  • Use key management services or HSMs and manage the full key lifecycle.
  • Keep secrets out of code and use short-lived credentials.
  • Plan post-quantum migration starting with long-lived sensitive data.

Sources and further reading

This article reflects general practice and publicly available guidance. Teams should consult primary sources, including NIST SP 800-57 on key management, NIST post-quantum cryptography standards (FIPS 203, 204 and 205) and the Mozilla TLS configuration guidance, and adapt the guidance to their own environment, risk appetite and legal obligations.

Cybersecurity

Get your cryptography under control.

We inventory cryptographic assets, harden TLS and key management, and plan post-quantum migration.

Explore Cybersecurity

Let’s engineer what’s next.

Tell us about your initiative - a solution architect will respond within one business day.