How Encryption in Transit Applies to Integration Traffic
Data moving between your integration engine and any connected system, whether over HL7, an HTTP-based API, or another protocol, needs protection specifically while it's in that transit state between endpoints.
TLS for HL7 Connections Over MLLP
Traditional HL7 v2 connections over MLLP can and should be secured using TLS, encrypting the connection between sending and receiving systems rather than transmitting PHI-containing HL7 messages over a plain, unencrypted socket connection.
HTTPS for REST and FHIR API Connections
Any REST or FHIR API-based integration should use HTTPS exclusively, ensuring the underlying TLS encryption protects API requests and responses carrying PHI, the same baseline expectation as any modern web-based data exchange.
Current, Strong TLS Versions and Cipher Suites
Simply using TLS isn't sufficient on its own — the specific TLS version and cipher suites in use should reflect current security standards, since outdated TLS versions and weak ciphers can undermine the protection encryption is meant to provide. See our SSL/TLS hardening guide for the specifics.
Every Hop in a Multi-System Chain Needs Coverage
If a message passes through multiple systems before reaching its final destination, each specific hop in that chain needs its own encryption in transit, since a single unencrypted segment anywhere in the path creates a genuine exposure gap.
What Encryption at Rest Looks Like for a Message Database
Once PHI lands in your integration engine's message database, protecting it in storage requires a different, complementary set of encryption considerations distinct from transit protection.
Database-Level Encryption for Stored Message Content
Whether using the embedded default database or an external platform, message content and metadata stored at rest should be encrypted, protecting that data even if the underlying storage were somehow improperly accessed or physically compromised. See our database configuration guide for the setup details.
Disk-Level Encryption as an Additional Layer
Beyond database-level encryption specifically, disk-level encryption on the underlying server or storage infrastructure adds another protective layer, covering scenarios where physical storage media itself might be accessed outside the database layer.
Backup Files Need the Same Encryption Standard
Backups of your message database should be encrypted to the same standard as the live database itself, since a backup file sitting somewhere less protected than production defeats the purpose of encrypting the primary data store. See our backup and disaster recovery guide for the broader strategy.
Encryption Doesn't Replace Access Controls
Encryption at rest protects against certain physical or storage-level compromise scenarios, but it doesn't replace the need for proper access controls governing who can query and view that data through normal, authorized application access.
Key Management Basics That Make Encryption Effective
Encryption is only as strong as the key management protecting the encryption keys themselves, and weak key management can undermine even technically strong encryption implementation.
Keys Should Be Stored Separately From Encrypted Data
Encryption keys shouldn't be stored alongside the data they protect, since co-locating keys and encrypted data significantly weakens the protection encryption is meant to provide if that storage location is ever compromised together.
Access to Keys Should Be Tightly Restricted
Limit access to encryption keys to the minimum necessary personnel and systems, applying the same least-privilege principle you'd apply to any other highly sensitive credential within your broader security architecture.
Key Rotation Should Happen on a Defined Schedule
Establish a periodic key rotation schedule rather than using the same encryption keys indefinitely, reducing the potential impact if a key were ever compromised without your organization's immediate knowledge.
Document Your Key Management Practices Clearly
Maintain clear documentation of how encryption keys are generated, stored, rotated, and access-controlled, since this documentation becomes essential both for internal governance and for demonstrating due diligence during a compliance review.
Unsure your current encryption setup is adequate?
Start with a free Mirth Health Check to review your configuration, send us the exact error if you're troubleshooting something specific, or check pricing for our support plans.