Security · Data Security
Data in Transit
Cheat sheet · https://pcornel.dk/topic.php?topic=4993
Answer
Data in transit is data moving across networks. Protect it with TLS 1.2 or 1.3, SSH, IPsec or VPNs, with certificate validation, so it cannot be read or altered on the way.
Remember
- Use TLS 1.2/1.3, SSH or IPsec.
- Validate certificates.
- Disable weak protocols.
First checks
testssl.sh <host>— TLS strength- Internal service-to-service encryption (mTLS) — east-west
- Legacy cleartext protocols (FTP, Telnet, HTTP) — to remove
Verify in this order
data → encrypted channel → recipient
Where it usually breaks
First mismatch in data identity/classification → access policy → storage/transport protection → DLP/monitoring → backup/recovery → consumer validation; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4993