Skip to content

Kestrel support for "path based" TLS renegotiation. #23948

Closed
@avparuch

Description

@avparuch

Is your feature request related to a problem? Please describe.

We have a reverse proxy running on ASP.NET Core, hosted in IIS in-process. During the initial TLS handshake with the client, the server is configured to not ask for a client certificate. However, if the path of the request contains, say "pksecure", IIS triggers a TLS renegotiation and sends a client certificate request.

The following configuration in IIS is how it works:

<location path="pksecure">
    <system.webServer>
      <security>
        <access sslFlags="Ssl, SslNegotiateCert, SslRequireCert"/>
      </security>
    </system.webServer>
</location>

Describe the solution you'd like

We would like Kestrel to have the same capability. This is supported on IIS, both in ASP.NET Core and ASP.NET

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-kestrelpartnerPartner ask

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions