Skip to content

hardening: enforce DB TLS certificate validation and fail closed #475

Description

@somethingwithproof

Summary

Harden MySQL/MariaDB TLS behavior to avoid insecure fallback.

Work

  • Enforce certificate/host validation when TLS is configured.
  • Reject insecure downgrade/fallback paths in hardened mode.
  • Emit actionable diagnostics for cert/host verification failures.

Acceptance Criteria

  • TLS-enabled DB connections validate trust chain and host identity.
  • Verification failure causes explicit connection failure (no silent insecure fallback).
  • Operator-facing docs cover required TLS settings and failure modes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions