-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[Platform] Detect and fix certificates with potentially inaccessible keys on Mac OS (2.1) #17560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2882679
436295a
d8c0df2
aa8b223
e122550
364c7c0
4eb1c38
59b5f9f
78ada7f
6da2741
63f43f9
315e003
79e8f14
100071b
13da157
f47d145
69d0d6c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ public static void GenerateAspNetHttpsCertificate() | |
{ | ||
var manager = new CertificateManager(); | ||
var now = DateTimeOffset.Now; | ||
manager.EnsureAspNetCoreHttpsDevelopmentCertificate(now, now.AddYears(1)); | ||
manager.EnsureAspNetCoreHttpsDevelopmentCertificate(now, now.AddYears(1), isInteractive: false); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the bit that goes into the CLI. At this point we don't want to try and setup the certificate key as that requires user interaction and the CLI first run experience must remain non-interactive. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After this change, at which point would the dev certificate first be added/updated if not during the first run experience? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The certificate still gets created during the first run experience. We simply don't try and make it available across security partitions at that time as that's the bit that requires user interaction. |
||
} | ||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.