Skip to content

Add loopback addresses to the development certificate SAN #64430

@danegsta

Description

@danegsta

Is there an existing issue for this?

  • I have searched the existing issues

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

We're adding features in Aspire to allow configuring local services (beyond just ASP.NET projects) to terminate their connections with the dev cert. A handful of services have clients that impose poor requirements on how the service can be addressed locally. In particular, SQL Server and the Azure Storage SDK don't handle "localhost" addresses properly and need to be used with loopback IPs for local traffic. The dev cert currently doesn't include loopback IP addresses in it's Subject Alternate Names extension, so can't be used to secure those particular connections.

Describe the solution you'd like

I'd like to add IPAddress.Loopback and IPAddress.IPv6Loopback to the SAN entry for the dev cert.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-devcertsneeds-area-labelUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions