Why OX App Suite database connections need TLS on Kubernetes
Encrypting traffic between middleware pods and MariaDB is a configuration task you can plan and verify before a security review asks about it. In an OX App Suite v8 cluster, the middleware pods read and write mail metadata, account records and session data in MariaDB across the cluster network. Unless you configure it, that traffic is not protected by TLS. Enabling it means three coordinated pieces: certificates issued to the database and the clients, MariaDB server settings that require and accept those certificates, and middleware chart values that tell the pods to verify the server. Open-Xchange's guide for this setup covers all three, and your task is to map each piece to your own certificate authority, chart version and cluster layout.
MariaDB is the primary data store for OX App Suite v8, and it uses the InnoDB storage engine. The supported versions are 10.6.x, 10.11.x, 11.4.x and 11.8.x, and Galera Cluster is supported. Encryption matters most when the database traffic crosses a boundary you do not fully control: a shared cluster where other workloads run, a network that carries tenants from several customers, or a Galera deployment where replication traffic between nodes also carries full copies of the data. Compliance scoping is the other common trigger. If an assessor is mapping which systems handle personal data and which network paths carry it, unencrypted database links widen the set of controls you must explain. Confirm your exact MariaDB minor version against the requirements page before you choose a certificate approach, because the server settings you use depend on it.
Before you change anything, decide three things: who issues and rotates the database and client certificates, whether the middleware must verify the server hostname or only the certificate chain, and how Galera node-to-node traffic will be handled if you run a cluster. Then test the change in a non-production namespace and confirm that middleware pods still start, connect and pass their health checks after a database restart. Record the certificate expiry dates and the rotation procedure in your runbook, since an expired certificate will break the connection for every middleware pod at once. Ask Open-Xchange or your delivery partner to confirm how the chart values in your release expect certificate paths and secret names to be supplied.
How the middleware reaches MariaDB over TLS
The diagram starts with the App Suite middleware pods in the application namespace, which open database connections to the MariaDB service. Certificates come from either an internal CA or cert-manager, and the Helm chart values point the middleware at the CA bundle so it can verify the server. The trust boundary sits around the namespace and cluster network, so check that both ends agree on the CA and that the database is reachable only from the middleware.
Middleware pods verify the MariaDB server certificate against a CA set through chart values.
Which certificate and database topology fits your environment
A single MariaDB instance is the simplest topology to secure. One server presents one certificate, the middleware pods connect to one endpoint, and the certificate authority can be your internal PKI or a cluster-issued CA. Because there is one server, certificate rotation is a single change, but it still needs an owner and a calendar, since an expired certificate stops every middleware pod from reaching its data.
- Issuance: One server certificate, with a subject name or subject alternative name that matches the hostname the middleware uses in its connection settings.
- Client verification: Decide whether middleware pods verify the server certificate chain only, or also verify the hostname. Verifying both is the stronger setting.
- Rotation ownership: Assign one named owner, usually the platform team, and record the expiry date in your change calendar.
- Chart configuration: Set the TLS options in the middleware chart values to point at the CA bundle, and mount that bundle into the pods.
- Restart behavior: Confirm in Open-Xchange's guide whether the middleware reloads a renewed CA bundle without a pod restart.
Before you start, confirm with Open-Xchange's guide which MariaDB settings enable TLS on the server and which client options the middleware expects, and confirm the supported MariaDB versions for your release in the OX App Suite requirements.
Galera Cluster replicates data across several MariaDB nodes, so every node needs a certificate, and the middleware may connect to any of them. Certificate issuance becomes a fleet task rather than a single change, and a rotation that reaches only some nodes can split the cluster or break failover. Galera Cluster is supported by OX App Suite v8, so this topology is a valid choice when availability matters.
- Issuance: One certificate per node, plus the replication channel settings if Galera encrypts node-to-node traffic. Plan the subject names for each node before issuing.
- Consistency: Rotate all nodes in one planned window, or use a CA that stays valid across the overlap so nodes can be renewed one at a time.
- Rotation ownership: Split ownership clearly between the database team, which runs the cluster, and the platform team, which owns the middleware values.
- Chart configuration: Confirm how the middleware chart accepts multiple database hosts and whether the same CA bundle covers every node.
- Failover tests: Test a node restart with TLS enabled to confirm the middleware reconnects without manual steps.
Ask Open-Xchange which Galera settings the guide assumes for TLS, and ask your database vendor which Galera TLS options are supported for your MariaDB version.
Many organizations run MariaDB on virtual machines or bare metal outside the Kubernetes cluster that hosts App Suite. The middleware pods then cross a network boundary to reach the database, which makes TLS more important, not less. Certificate issuance often comes from a separate team or PKI, so the handover between that team and the platform team needs to be written down.
- Issuance: The database team issues the server certificate from the internal CA, and the platform team receives only the CA bundle and the client material the middleware needs.
- Secret handling: Store any client certificate or key as a Kubernetes secret with restricted read access, and never bake it into an image.
- Network path: Confirm that firewall rules allow the database port from the pod network, and that no proxy in the path terminates TLS without you knowing.
- Rotation ownership: Agree a written process for the handover, including who is told when a certificate is due and who applies the new secret.
- Chart configuration: Point the middleware values at the external hostname, not a cluster service name.
Confirm with Open-Xchange's guide which client certificate options the middleware supports, and confirm with your database vendor how the server reloads a renewed certificate.
A managed database service handles server certificates for you, and the provider usually rotates the server certificate on its own schedule. Your work shifts to trusting the provider's CA, pinning the correct chain in the middleware, and confirming that the provider's MariaDB version is one OX App Suite supports. You still own the client side of the connection and the configuration that enforces TLS.
- Issuance: The provider issues and rotates the server certificate. Your job is to obtain the provider's current CA bundle and check how it is published.
- Enforcement: Confirm that the service can require TLS for client connections, and that plain connections are refused.
- Rotation ownership: Track the provider's rotation notices and test the new chain in a lab environment before production.
- Chart configuration: Load the provider's CA bundle into the middleware chart and verify the hostname the provider presents.
- Version support: Check that the managed MariaDB version is in the supported list before you commit to it.
Ask the provider which CA it uses and how it announces rotations, and confirm with Open-Xchange's guide that the managed endpoint and its settings are supported in your release.
Certificate and configuration choices compared
This table compares the main choices for encrypting middleware-to-MariaDB traffic: who issues the certificates, whether clients also present certificates, and how middleware pods trust the database CA. Read each row as a trade-off between what it protects and what your team must run afterward, then confirm the exact settings against Open-Xchange's guide for your release.
| Option | What it protects | Operational cost | When it fits |
|---|---|---|---|
| Internal CA issuing certificates | Encryption of database traffic and server identity, under a CA your organization controls | Your team owns the CA, its key protection, issuance and revocation procedures | Organizations that already run an internal PKI and want one trust chain for internal services |
| Cluster certificate manager issuing certificates | Same encryption and server identity, with certificates renewed and mounted automatically inside the cluster | Lower manual renewal effort, but the issuer and its configuration become a dependency to secure and monitor | Clusters where certificate lifecycle is already automated and the team wants renewal handled by the platform |
| Server-side verification only | Confirms the database server's identity to middleware pods and encrypts the session | Simplest client configuration, with no client certificate lifecycle to manage | Environments where the database is reachable only from middleware pods and client identity is handled by database credentials |
| Mutual TLS | Server identity plus proof of the middleware pod's identity, limiting which workloads can connect even with stolen credentials | Client certificates must be issued, rotated and revoked for each middleware role, adding renewal work | Regulated environments that require stronger proof of which service connects to the database |
| Middleware trust store approach | Limits trust to the specific CA chain that the middleware pods load | Trust bundles must be updated when the CA changes, and mismatches surface as connection failures | Deployments where a private CA or intermediate chain must be trusted by the middleware image |
| Public or external CA for the database | Encryption and server identity validated against a widely trusted root | Depends on external issuance terms, and internal hostnames often cannot receive public certificates | Rarely a fit for internal database endpoints, but may apply to managed or externally reachable databases |
| Mixed trust for Galera or replica nodes | Node-to-node and replica traffic protected with the same CA model as client connections | Each additional node or replica adds certificate subjects and rotation steps | Clusters running Galera Cluster, where node traffic also needs protection |
How to configure TLS between middleware and MariaDB
This sequence encrypts the connections from OX App Suite middleware pods to MariaDB, so that each side authenticates the other and database traffic is no longer readable on the cluster network.
Confirm tooling and database versions
The platform team checks that the Helm client is version 3.17.0 or newer, since OX App Suite v8 charts require it, and that the MariaDB server runs one of the supported lines: 10.6.x, 10.11.x, 11.4.x or 11.8.x. If Galera Cluster is in use, the team confirms that every node is on the same supported line before changing anything. Done means the Helm version output and the MariaDB server version query both match the requirements, and the versions are recorded in the change ticket. Confirm the exact chart version pairing with Open-Xchange's requirements page before you proceed.
Issue server and client certificates
The security or platform team issues a certificate authority for the database connection, a server certificate for the MariaDB service, and a client certificate for the middleware. The server certificate subject alternative names must include the exact in-cluster service name that middleware uses to reach the database, and the client certificate identifies the middleware account. Store private keys in your secrets management system, not in chart files. Done means both certificates verify against the CA with OpenSSL and the subject names match the service DNS names listed in your middleware configuration.
Configure MariaDB to require TLS
The database administrator loads the CA, server certificate and key into MariaDB and sets the server to accept TLS. For accounts used by middleware, the administrator sets the account to require an encrypted connection, so that plaintext logins are refused rather than silently accepted. Follow the MariaDB settings in Open-Xchange's TLS guide for the exact option names and file paths for your version. Done means the server restarts cleanly, the server reports TLS as enabled, and a test login from a plaintext client is rejected for the middleware account.
Set middleware chart values for CA, certificate and key
The platform engineer adds the database TLS values to the middleware Helm release: the CA bundle, the client certificate and the client key, referenced from Kubernetes secrets created in the middleware namespace. The values should point to the secret names and keys rather than embedding certificate material in the values file. Pull the key names from the current Open-Xchange chart documentation, since they vary by chart version. Done means
helm templaterenders the expected volume mounts and environment settings, and a diff of the rendered output shows no unexpected changes to other components.Roll middleware pods to load the new configuration
The platform engineer applies the Helm release and performs a rolling restart of the middleware deployments so that every pod mounts the new certificates. The team watches the rollout status and pod events during the restart, and stops if a pod fails its readiness probe. Do this in a non-production environment first, and schedule the production rollout inside your agreed change window. Done means every middleware pod reports Running and Ready, and no pod shows certificate or handshake errors in its startup logs.
Verify the TLS session on the database connection
The operations team confirms that the connection is encrypted from the database side, by checking the MariaDB session status for the middleware account and confirming the cipher and TLS version in use. A connection that shows no TLS cipher means the middleware is still using a plaintext path, and the team returns to the chart values. Record the output as evidence for the change ticket and for later compliance review. Done means every middleware connection to the database reports an active TLS cipher and no plaintext sessions remain for that account.
Confirm middleware health after the change
The operations team checks that middleware starts healthy and stays healthy under normal use. They review the health probe results, watch for database connection errors in the middleware logs, and run a basic sign-in and mailbox read through the application to confirm the data path works end to end. Add a certificate expiry date to your renewal calendar, and confirm the renewal procedure with your certificate owner before it is needed. Done means health checks pass over a defined observation period set by your operations policy, and the expiry date and renewal owner are recorded.
Security and operations after TLS is enabled
Turning on TLS between middleware pods and MariaDB is the start, not the finish. The cards below cover the recurring work that keeps those connections trustworthy: renewing certificates, protecting keys, watching for failures, and keeping configuration reproducible across chart upgrades.
Certificate rotation and expiry
Every server and client certificate used between middleware and MariaDB has a fixed lifetime. Record each certificate's expiry date, decide who renews it, and test the rotation in a lab cluster before production. Confirm whether the MariaDB and middleware charts pick up a renewed secret without a manual restart, because an unnoticed expiry usually shows up as a sudden database outage.
Private key storage and access
The client private keys for middleware sit in Kubernetes Secrets, so anyone who can read those Secrets can impersonate the middleware to the database. Limit read access with RBAC to the service accounts and namespaces that need it, and check whether your cluster encrypts Secrets at rest. Review who holds cluster-admin rights, since those rights reach every Secret.
Protecting the CA signing key
The certificate authority key is the root of trust for every database connection. Keep it out of the cluster and out of routine CI jobs, store it in an offline or access-controlled vault, and log every signing operation. Only the issued leaf certificates should reach the cluster, so a compromised namespace cannot mint new trusted identities.
Alerting on failed TLS handshakes
A broken certificate chain or a protocol mismatch often appears as intermittent connection errors rather than a clean failure. Forward MariaDB error logs and middleware connection errors to your logging stack, and alert on handshake failures and on new connection rejections. Test the alert by deliberately presenting an expired certificate in a lab, so you know the signal reaches an on-call person.
Upgrade and chart-version drift
Each OX App Suite release and each Helm chart version can change the expected TLS settings, default certificate paths or MariaDB options. Pin the chart versions you deploy and compare the values files before each upgrade. OX App Suite v8 requires Helm 3.17.0 or newer, so check that your Helm client meets that floor before you change anything. Confirm the supported MariaDB version (10.6.x, 10.11.x, 11.4.x or 11.8.x) matches your planned upgrade path.
RequirementsTrust settings in version control
The MariaDB server settings, middleware trust store configuration and chart values should live in Git alongside the cluster manifests. Review changes to these files like code, and use the same pull request process for TLS settings that you use for application releases. A version-controlled record lets you rebuild the connection setup after a cluster loss and shows auditors what was configured and when.
Questions teams ask before encrypting database traffic
How much effort does encrypting database connections take, and what drives it?
The effort depends mostly on how many middleware components connect to MariaDB, how many certificate authorities and trust chains you must support, and how much of the database side is already configured for TLS. A single internal CA with a small number of middleware services is a bounded task. Effort rises when each service needs its own certificate, when the database team has not enabled TLS on the server before, or when the cluster has several environments that must stay consistent. Ask any partner to break the work into certificate issuance, MariaDB configuration, middleware chart values and verification, and to state which of these is one-time and which recurs at each renewal.
Can an internal team encrypt these connections on its own?
Often yes, if the team already runs Kubernetes, manages certificates and has someone who can change MariaDB server settings. The work follows Open-Xchange's guide for certificates, MariaDB settings and middleware chart values, so the steps are documented. The risk sits in the details: certificate subject names that do not match what the client verifies, mismatched CA bundles between pods, and server settings that only apply after a restart. Teams without prior experience with Helm values or database TLS usually benefit from a short review of their own configuration before they change production.
What does the work need from our team?
Plan for four inputs before work starts:
- Cluster access with rights to create secrets and update the Helm release for the middleware.
- A DBA who can change MariaDB server TLS settings and restart or reload the database in a maintenance window.
- A certificate authority, either your internal PKI or one you approve, that can issue server and client certificates with the right names.
- A test environment that mirrors production topology, so the change can be rehearsed before it reaches live traffic.
Confirm with your Kubernetes and database owners who signs off each step, because the change crosses both teams.
How does certificate rotation affect uptime?
Rotation affects uptime only if the new certificate is not trusted by every party before the old one expires, or if the database or middleware needs a restart to load it. Plan rotation as an overlap: add the new CA or certificate to the trust chain, roll the middleware pods, then update the server certificate and verify connections. Check whether your MariaDB version reloads TLS material without a restart, and confirm that behavior in your own environment rather than assuming it. Automating renewal reduces human error, but the procedure still needs a rehearsal and an expiry alert.
Does a Galera Cluster change the TLS work?
Yes, it adds scope. Galera Cluster is supported with OX App Suite v8, so if you run it, each node needs a certificate that clients and cluster members can validate, and the replication traffic between nodes must be considered alongside client connections. Ask your database team whether TLS is already configured for Galera state transfer and replication, and whether the rotation procedure covers every node in the same change window. Test failover after the change, because a node that rejects a certificate can look healthy while it cannot rejoin the cluster.
What evidence should an external review expect to see?
Reviewers usually want to see that encryption is enforced, not just configured. Prepare the MariaDB TLS settings, the certificate issuance policy and CA ownership, the middleware chart values that reference the trust material, and a record of a connection test showing an encrypted session. Include the rotation runbook, the expiry monitoring, and the change record for the last renewal. Keep this evidence in your own system so it can be shown during an assessment. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies decide whether the controls meet a given requirement.
Which questions should we ask a partner before agreeing to scope?
Ask for the written scope to name the middleware components covered, the MariaDB nodes and whether Galera is included, the certificate authority used, and who performs each step in production. Ask how verification is recorded and how rotation will be handled after handover. DeployOpen plans and implements engagements under fixed scope, with deliverables and timelines agreed in writing before work starts, so the quote should follow directly from that document.
Limits to confirm in your environment
TLS between middleware pods and MariaDB depends on settings that change with the release you run, the database you operate and the load you expect. The cards below list the points to confirm against Open-Xchange's current guide and your own environment before you commit to a configuration.
Confirm MariaDB settings and chart keys
The exact MariaDB server options, certificate file layout and middleware chart values for encrypted connections come from Open-Xchange's guide for your release. Do not copy keys from older blog posts, forum threads or previous installations. Compare every key against the guide for the chart version you deploy, and record the chart version in your change record so an upgrade can be checked against the same source.
Confirm the release train
Pin your release to the train you can support. v8.47 is the current LTS release, and v8.53 is the newest release listed in the support commitment, with first customer shipment on 2026-09-23. Standard releases receive support for a limited window, so a TLS configuration tested on one release may need retesting after a move to another. Confirm which track your organization will run before you finalize certificate and chart settings.
Support commitmentMeasure TLS performance in your load tests
Encryption adds handshake and per-connection cost on every pod that talks to the database. Run load tests that match your real mailbox counts, login peaks and middleware replica count, and compare results with TLS on and off. Watch connection pool saturation and database CPU, because the effect often shows under concurrency rather than in single-user tests.
Confirm where the database runs
The chart steps differ if MariaDB runs inside the cluster, on a managed service or on separate database hosts. Confirm who owns the database server, who issues its certificates and who can change its TLS settings. Galera Cluster setups add node-to-node traffic that also needs a decision, so confirm whether the cluster topology is in scope for this change.
Confirm module licensing
Some App Suite modules and features may be licensed or priced separately under the agreement with Open-Xchange. Confirm with Open-Xchange which modules your deployment uses before you plan the database layout, since extra modules can add schemas, connections or services that also need encrypted paths. Licensing terms do not change the TLS procedure itself, but they affect which components are in scope.
What the Open-Xchange guide covers and what it leaves to you
The Open-Xchange guide sets out the technical pieces needed to encrypt connections between middleware pods and MariaDB: the certificates the two sides present, the MariaDB server settings that enable TLS on the database, and the values the middleware Helm chart uses so the database client connects over TLS. Before you copy any of it, check your MariaDB line against the supported versions in the OX App Suite requirements, which list 10.6.x, 10.11.x, 11.4.x and 11.8.x, and confirm that the TLS settings in the guide match the version you run. Galera Cluster is also supported, so if you run a cluster, decide early whether node-to-node traffic needs the same treatment.
The guide does not decide the operational questions, and these are the ones your team owns. Certificate authority policy covers which CA issues the database and middleware certificates, how the intermediate hierarchy is built, and whether the chain is trusted only inside the cluster. Key custody covers where private keys are generated, who can read them from Kubernetes secrets or an external store, and how access is logged. The rotation schedule covers certificate lifetime, how long before expiry you renew, and whether the middleware and MariaDB pick up a new certificate without a restart. Network policy covers which namespaces and pods may reach the database port. Evidence collection covers issuance records, the rendered chart values and the verification output that an assessor will ask to see.
Treat the Operations Guide and the requirements page as the reference set, and confirm three points with Open-Xchange before you commit to a design. First, the Helm 3.17.0 minimum and the Kubernetes N-1 and N-2 support window, since the chart version you deploy sets the values you can change. Second, the Istio requirement: if your mesh already encrypts pod traffic with mutual TLS, confirm whether that covers database connections or whether the database still needs its own TLS configuration, because the answer changes who terminates the connection. Third, whether any ingress-nginx option changes the path of database traffic, which it should not, but the guide's scope should be confirmed in writing. The OX App Suite Operations Guide describes the operational context around these settings.
How DeployOpen scopes and delivers database TLS for OX App Suite
DeployOpen plans and implements OX App Suite inside the client's own Kubernetes clusters, including encryption between middleware pods and MariaDB. Each engagement starts from a written scope that names the certificate chain, MariaDB settings, middleware chart values and the checks used to confirm that connections are encrypted.
How we scope
- We review your MariaDB version, topology (single node or Galera Cluster) and how the middleware pods connect to it today.
- We agree in writing which certificate authority, certificate lifecycle and rotation method the database and middleware will use.
- We list the MariaDB, middleware chart and Kubernetes changes in scope, plus any dependencies on other App Suite components.
How we build
- We configure MariaDB for TLS and set the middleware chart values so pods verify the server certificate against your chain.
- We test each connection path after changes and confirm that unencrypted fallback is disabled where the setup allows it.
- We record every configuration change in version-controlled manifests so the setup can be reviewed and reproduced.
How we hand over
- You receive the configuration, certificate procedure, test results and a list of items your team must confirm in its own environment.
- We walk your platform and security teams through certificate renewal, rotation and what to check after a Helm upgrade.
- We document the Open-Xchange guidance we followed, with any deviations and the reason for each one.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer, including retesting after MariaDB or chart upgrades.
- Quotes follow from the written scope, so your team can compare the work against building the setup in-house.

