The command dotnet dev-certs https --trust is failing on GitHub Actions ubuntu-latest runners starting with SDK Version 10.0.103
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 --trust
Failure 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.
The command
dotnet dev-certs https --trustis failing on GitHub Actionsubuntu-latestrunners starting with SDK Version10.0.103Sample Job:
Failure from 10.0.103:
What I expect (works in 10.0.102):