noCV
BMTLS-102 · Define peer identity

Validate certificate chains without disabling hostname checks

Practice briefTaskAdvanced

A workaround accepts self-signed certificates by disabling all verification.

Focused work estimate
3h + prerequisites
Priority in the scenario
High
Engineering practice
Certificate validation

Estimated field mix

  • Security70%
  • Networking30%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

Review it, then add it to your workspace.

The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.

Project context

A fictional internal report exporter uses mutual TLS. Certificates are renewed manually, and operators cannot distinguish peer identity failures from network outages.

Setup prerequisites

  • Generate disposable test-only certificate authorities and leaf certificates for loopback services; use no production keys.

Preceding work

Complete these dependencies, or supply their agreed outputs before taking this ticket.

Acceptance criteria

  • Trust only the configured test CA set.
  • Verify peer names and intended usage.
  • Reject expired, incomplete, and unknown chains.

Implementation constraints

  • No permissive verification bypass is allowed.

Verification to include

  • Connect with the authorized test chain.
  • Reject wrong-name and untrusted certificates.

Deliverables

  • Strict TLS configuration.

Rollout and recovery

Fail closed and expose safe diagnostic categories.

Value of the work

For the engineer: Practice transport identity, trust-store changes, and certificate failure diagnosis.

For the team: Provide repeatable rotation and recovery behavior for authenticated service communication.

Evidence boundaries

Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.

Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.