You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Windows 10/11 (Hungary timezone, UTC+2 during DST)
Command: dotnet dev-certs https --trust
Problem
When generating a development HTTPS certificate, the tool creates a cert where the NotBefore timestamp is set in the future by ~2 hours. This causes browsers and Visual Studio to reject it as "not yet valid" until that time passes.
Expected behavior
The NotBefore value should align with the current UTC time (or be immediately valid in local time) so the certificate is trusted right away.