-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Update Kestrel's dev cert error message #11430
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
Conversation
@@ -487,7 +487,7 @@ | |||
<value>The endpoint {endpointName} is missing the required 'Url' parameter.</value> | |||
</data> | |||
<data name="NoCertSpecifiedNoDevelopmentCertificateFound" xml:space="preserve"> | |||
<value>Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found. | |||
<value>Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date. | |||
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I correct to assume running 'dotnet dev-certs https --trust' replace the out-of-date dev cert? If so, this LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm @javiercn do you have more info on this? If not we can add another line to instruct the user to use --clean
to remove any old certs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @jkotalik
Am I correct to assume running 'dotnet dev-certs https --trust' replace the out-of-date dev cert? If so, this LGTM.
Yes, I believe this is the case.
This comment was made automatically. If there is a problem contact [email protected]. I've triaged the above build. I've created/commented on the following issue(s) |
Fixes: #11145
Just updating the dev cert error message