Skip to content

Custom TLS cert validation when connecting to Destinations #253

Closed

Description

@davidni

What should we add or change to make your life better?

High-stakes deployments of YARP require explicit control of TLS cert validation policies when communicating to a Backend's endpoint (aka Cluster's Destination after #128).

Requirements:

  • Ability to specify SocketsHttpHandler.SslClientAuthenticationOptions.RemoteCertificateValidationCallback per backend
  • Ability for that to be set up to depend on Backend config. Internally, we have an implementation that works efficiently using Signals
    • When a backend's config changes, a derived signal produces a new cert validation callback lambda
    • In the hot-path, cert validation just calls the latest validation lambda produced by the signal, which always tracks the backend config

Why is this important to you?

Compliance requirement. YARP isn't an option for us without this.

Activity

  1. added
    Type: Idea
    on Jun 18, 2020
  2. Tratcher commented on Jun 18, 2020

    @Tratcher
    Member

    This is tracked as part of #137. I'll copy your comments over and close this.

  3. karelz commented on Mar 24, 2021

    @karelz
    Member

    Duplicate of #137

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: Idea

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions