Skip to content

PoC: Check if we can leverage a Multi-SAN approach for internal-encryption #13820

Closed

Description

@ReToCode

Description

As discussed in https://docs.google.com/document/d/1YdcdBVg_zpT4WSNRsWlihut5JuLddOTIggFvLni3A28/edit#heading=h.n8a530nnrb we would like to leverage a multi SAN approach to handle tls traffic for:

User --> Ingress Gateway --> Activator
User --> Ingress Gateway --> Queue-Proxy / KService

This results in two certificates that need to be trusted by the Ingress Gateway (one from the activator with a static SAN and one for Queue-Proxy with a SAN that contains the namespace of the KService). Envoy can be configured to trust multiple SANs for one upstream connection.

/area networking

If this works, #12797 can be omitted.

Activity

  1. added
    triage/accepted
    on Mar 29, 2023
  2. ReToCode commented on Mar 29, 2023

    @ReToCode
    ContributorAuthor
  3. davidhadas commented on Mar 29, 2023

    @davidhadas
    Contributor
  4. ReToCode commented on Jul 24, 2023

    @ReToCode
    ContributorAuthor

    @KauzClay would you mind reporting your findings with contour here?

  5. KauzClay commented on Jul 24, 2023

    @KauzClay
    Contributor

    Currently, Contour does not allow trusting mutliple SANs for a backend.

    I've started an issue with them to potentially change this: projectcontour/contour#5520

    I'm trying to work with them on this when I can.

  6. ReToCode commented on Aug 3, 2023

    @ReToCode
    ContributorAuthor

    To summarize the findings:

    • Kourier supports multiple SANs
    • Istio supports multiple SANS
    • Contour does not support it yet, but might in the future --> We fall back to Activator always in path for this
    • Gateway-API does not support it yet, but might in the future --> We fall back to Activator always in path for this

    /close

  7. knative-prow commented on Aug 3, 2023

    @knative-prow

    @ReToCode: Closing this issue.

    Details

    In response to this:

    To summarize the findings:

    • Kourier supports multiple SANs
    • Istio supports multiple SANS
    • Contour does not support it yet, but might in the future --> We fall back to Activator always in path for this
    • Gateway-API does not support it yet, but might in the future --> We fall back to Activator always in path for this

    /close

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

  8. dprotaso commented on Aug 9, 2023

    @dprotaso
    Member

    I've been talking to the upstream maintainers

    Contour does not support it yet, but might in the future

    Contour prioritized multi-san in their next release
    see: projectcontour/contour#5520

    Gateway-API does not support it yet, but might in the future

    The latest update to the Backend TLS GEP PR added support for multi-san
    see: kubernetes-sigs/gateway-api#2113

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

Metadata

Metadata

Labels

area/networkingtriage/accepted

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions