-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed as duplicate of#65391
Closed as duplicate of#65391
Copy link
Labels
area-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIfeature-devcerts
Description
running dev-certs https --trust on 10.0.103 is showing:
[0] ERROR: Exception in Command Processing for EventSource Dotnet-dev-certs: Event WslWindowsTrustSucceeded was assigned event ID 115 but 113 was passed to WriteEvent.
Trusting the HTTPS development certificate was requested. Trust is per-user and may require additional configuration. See https://aka.ms/dev-certs-trust for more information.
There was an error trusting the HTTPS developer certificate. It will be trusted by some clients but not by others.
Error: Process completed with exit code 4.
Looks like a merge error in the release branch:
aspnetcore/src/Shared/CertificateGeneration/CertificateManager.cs
Lines 1322 to 1329 in 3be2a4e
| [Event(115, Level = EventLevel.Verbose, Message = "Successfully trusted the certificate in the Windows certificate store via WSL.")] | |
| internal void WslWindowsTrustSucceeded() => WriteEvent(113); | |
| [Event(116, Level = EventLevel.Warning, Message = "Failed to trust the certificate in the Windows certificate store via WSL.")] | |
| internal void WslWindowsTrustFailed() => WriteEvent(114); | |
| [Event(117, Level = EventLevel.Warning, Message = "Failed to trust the certificate in the Windows certificate store via WSL: {0}.")] | |
| internal void WslWindowsTrustException(string exceptionMessage) => WriteEvent(115, exceptionMessage); |
These numbers don't align.
cc @danegsta
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIfeature-devcerts