Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Listen on https://localhost:5001 by default when a default HTTPS certificate is available #2188

Closed
danroth27 opened this issue Nov 29, 2017 · 1 comment

Comments

@danroth27
Copy link
Member

Absent any configuration, by default Kestrel listens on http://localhost:5000. Kestrel by default should also listen on https://localhost:5001 if a default HTTPS certificate is available (i.e. on a dev machine with the .NET Core SDK and the ASP.NET Core HTTPS development certificate installed).

@danroth27 danroth27 added this to the 2.1.0-preview1 milestone Nov 29, 2017
@Tratcher Tratcher self-assigned this Nov 30, 2017
@Tratcher
Copy link
Member

IDefaultHttpsProvider will need an IsAvailable property or TryConfigure method. Today's ConfigureHttps throws if the cert is missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants