Update Kestrel HTTPS developer certificate error message
This commit is contained in:
parent
4fd4fd9f41
commit
8280c1b73f
|
|
@ -490,7 +490,9 @@
|
||||||
<value>The endpoint {endpointName} is missing the required 'Url' parameter.</value>
|
<value>The endpoint {endpointName} is missing the required 'Url' parameter.</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="NoCertSpecifiedNoDevelopmentCertificateFound" xml:space="preserve">
|
<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>
|
||||||
<data name="MultipleCertificateSources" xml:space="preserve">
|
<data name="MultipleCertificateSources" xml:space="preserve">
|
||||||
<value>The endpoint {endpointName} specified multiple certificate sources.</value>
|
<value>The endpoint {endpointName} specified multiple certificate sources.</value>
|
||||||
|
|
|
||||||
|
|
@ -1747,7 +1747,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core
|
||||||
=> string.Format(CultureInfo.CurrentCulture, GetString("EndpointMissingUrl", "endpointName"), endpointName);
|
=> string.Format(CultureInfo.CurrentCulture, GetString("EndpointMissingUrl", "endpointName"), endpointName);
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
internal static string NoCertSpecifiedNoDevelopmentCertificateFound
|
internal static string NoCertSpecifiedNoDevelopmentCertificateFound
|
||||||
{
|
{
|
||||||
|
|
@ -1755,7 +1757,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
internal static string FormatNoCertSpecifiedNoDevelopmentCertificateFound()
|
internal static string FormatNoCertSpecifiedNoDevelopmentCertificateFound()
|
||||||
=> GetString("NoCertSpecifiedNoDevelopmentCertificateFound");
|
=> GetString("NoCertSpecifiedNoDevelopmentCertificateFound");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue