Update Kestrel HTTPS developer certificate error message

This commit is contained in:
Javier Calvarro Nelson 2018-01-25 17:56:16 -08:00
parent 4fd4fd9f41
commit 8280c1b73f
2 changed files with 9 additions and 3 deletions

View File

@ -490,7 +490,9 @@
<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. Try running 'dotnet developercertificates https -t' to setup a developer certificate for use with localhost. For information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054</value>
<value>Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found.
To install the developer certificate first install the dev-certs tool by running 'dotnet install tool dotnet-dev-certs -g --version 2.1.0-preview1-final' and then run 'dotnet-dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet-dev-certs https --trust'.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.</value>
</data>
<data name="MultipleCertificateSources" xml:space="preserve">
<value>The endpoint {endpointName} specified multiple certificate sources.</value>

View File

@ -1747,7 +1747,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core
=> string.Format(CultureInfo.CurrentCulture, GetString("EndpointMissingUrl", "endpointName"), endpointName);
/// <summary>
/// Unable to configure HTTPS endpoint. No server certificate was specified and the default developer certificate could not be found. Try running 'dotnet developercertificates https -t' to setup a developer certificate for use with localhost. For information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054
/// Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found.
/// To install the developer certificate first install the dev-certs tool by running 'dotnet install tool dotnet-dev-certs -g --version 2.1.0-preview1-final' and then run 'dotnet-dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet-dev-certs https --trust'.
/// For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
/// </summary>
internal static string NoCertSpecifiedNoDevelopmentCertificateFound
{
@ -1755,7 +1757,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core
}
/// <summary>
/// Unable to configure HTTPS endpoint. No server certificate was specified and the default developer certificate could not be found. Try running 'dotnet developercertificates https -t' to setup a developer certificate for use with localhost. For information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054
/// Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found.
/// To install the developer certificate first install the dev-certs tool by running 'dotnet install tool dotnet-dev-certs -g --version 2.1.0-preview1-final' and then run 'dotnet-dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet-dev-certs https --trust'.
/// For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
/// </summary>
internal static string FormatNoCertSpecifiedNoDevelopmentCertificateFound()
=> GetString("NoCertSpecifiedNoDevelopmentCertificateFound");