Skip to content

How To Set ServerCertificateCustomValidationCallback? #113

Closed

Description

@Kahbazi

What is the appropriated way to set ServerCertificateCustomValidationCallback for each backend?

Activity

  1. added
    Type: Discussion
    on Apr 27, 2020
  2. analogrelay commented on Apr 27, 2020

    @analogrelay
    Contributor

    Hmm, not sure there is a built-in way yet. It should be something we enable in code at least.

    We should consider having some basic config options to set predefined validation patterns, like:

    • Allow untrusted certain
    • Allow specific thumbprints
    • Allow any cert that chains to one with a specific thumbprint

    Using the proxy in a custom public key infrastructure will be fairly common.

  3. samsp-msft commented on Apr 27, 2020

    @samsp-msft
    Contributor
  4. Tratcher commented on Apr 27, 2020

    @Tratcher
    Member

    For reference, the handler is created here: https://github.com/microsoft/reverse-proxy/blob/bc9298322206f35e7d658183464cdf806280143f/src/ReverseProxy.Core/Service/Proxy/Infra/ProxyHttpClientFactory.cs#L33-L42 and doesn't currently have access to any route/backend/endpoint config options.

  5. karelz commented on May 12, 2020

    @karelz
    Member

    Covered as larger task in #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: Discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions