Add support for configuring non-project resources to trust and/or use the ASP.NET Core HTTPS development certificate #6890
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
security 🔐
untriaged
New issue has not been triaged
Some of the Aspire samples in the samples repo now demonstrate how non-project resources can be configured to use and trust the ASP.NET Core HTTPS development certificate so that they can host HTTPS endpoints that are trusted by the host browser (and other host resources) and trust the HTTPS endpoints of other resources that they connect to.
All of these samples utilize a common helper
DevCertHostingExtensions.cs
.We should consider adding this base helper capability natively to
Aspire.Hosting
and then updating the various hosting integrations to utilize it along with whatever custom logic is required for that specific integration to add a resource-specificRunWithHttpsDevCertificate
overload that does what's required to configure the integration to correctly use the certificate.Related issues:
The text was updated successfully, but these errors were encountered: