-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
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
Milestone
Description
The command dotnet dev-certs https --trust is failing on GitHub Actions ubuntu-latest runners starting with SDK Version 10.0.103
- Example workflow file failing on 10.0.103
- Example run failing on 10.0.103
- Example workflow file working on 10.0.102
- Example run succeeds on 10.0.102
Sample Job:
jobs:
test:
name: Tests
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
steps:
- name: Setup dotnet
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.103
- name: Setup dev certs
run: dotnet dev-certs https --trustFailure from 10.0.103:
Run dotnet dev-certs https --trust
[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.
What I expect (works in 10.0.102):
Run dotnet dev-certs https --trust
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.
Successfully trusted the existing HTTPS certificate.
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