Recreate the problem:
- Open Visual Studio 2022
- Create a new ASP.NET Core Web API project
- Framework: .NET 8.0
- ✅ Configure for Https
Other options do not matter - Open
Exceptions Settings
window
Debug/Windows/Exceptions Settings
or Ctrl+Alt+E - Expand
Common Language Runtime Exceptions
- ✅
System.IO.IOException
- Observe Exception thrown at
SslStream.ReceiveHandshakeFrameAsync<TIOAdapter>(...)
Is there some basic setup to run Https locally that isn’t included with the project template? I’d love to fix this because I typically turn on all the exception settings when bug hunting, and this is an obstruction.
1