Skip to content

M4: Make tls_probe's TLS verification bypass explicit and policy-gated #62

Backlog

Description

@h45sh

Context

tools/tls_probe/adapter.py sets check_hostname = False and verify_mode = CERT_NONE unconditionally. A certificate probe needs to inspect untrusted certificates, but the bypass must be explicit and policy-aware.

Acceptance criteria

  • Document that the probe collects certificates without trusting the peer.
  • Add a verify_tls option; under SAFE, only allow the bypass for certificate inspection.
  • Add a test that the bypass is not inherited by other HTTP or TLS paths.
  • No authenticated request is sent over the unverified connection.

Out of scope

Changing the TLS probe's finding schema.

Part of #27

Activity

  1. added this to the M4 Boundary milestone on Nov 29, 2026
  2. added
    type:security
    area:gateway
    priority:P1
    on Nov 29, 2026
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

    area:gatewaypriority:P1type:security

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions