question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kestrel should select best dev cert and warn if dev cert is out of date

See original GitHub issue

After https://github.com/aspnet/AspNetCore/issues/9810 we now have a new “version” field in the dev certificate. Kestrel needs to ensure it always picks the highest version that it supports when loading dev certificates, just in case multiple versions are available. Also, Kestrel should warn if the highest version it finds is earlier than the version Kestrel expects (as defined by a LatestDevCertVersion constant somewhere, likely in the shared certificate manager code)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
analogrelaycommented, Jun 18, 2019

This should be verified on a fresh machine running Windows 10 1903 (check the “About” screen in Windows Settings) and Google Chrome with a process like the following

  1. Install 2.2 SDK
  2. Create a 2.2 app. Do not include a global.json file
  3. dotnet run the app
  4. You should get an ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY error. If you don’t, stop here, the issue isn’t reproing properly.
  5. Install 3.0 SDK. Do not run dotnet CLI
  6. Open the app in Visual Studio 2019
  7. Launch the app
  8. Verify that at some point in that process, VS prompted you to trust the dev cert.
0reactions
analogrelaycommented, Jul 9, 2019

We’re pretty sure this is good now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found