-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
Description
When running the 3rd party applications with dotnet-sdk-preview.7.25351.101, EventStore app launch failed with error "Invalid Configuration: A certificate is required unless insecure mode (--insecure) is set
".
Reproduction Steps
App Repro steps on repro machine: (Please get the repro machine from devdiv bug)
The repro machine only has dotnet-sdk-10.0.100-preview.7.25351.101 installed and set DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX as 2.
-
Update "C:\EventStoreApp\EventStore\KurrentDB.runtimeconfig.json" file to let the app run against with dotnet-sdk-10.0.100-preview.7.25351.101: "frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "10.0.0-preview.7.25351.101"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "10.0.0-preview.7.25351.101"
}
], -
Open command prompt and navigate to C:\EventStoreApp\EventStore
-
Input command “
dotnet KurrentDB.dll --insecure --db ./tmp/data --index ./tmp/index --log ./tmp/log -runprojections all --startstandardprojections --EnableAtomPubOverHttp
”. -
Press "
Enter
" to run the command.
Expected behavior
The command can run successfully without certificate related error and user can access the website through url:http://localhost:2113/web/index.html#/ from browser.
Actual behavior
The command run failed with certificate error and the app exit.
[14508, 2,08:05:32.978,INF] ClusterVNodeHostedService Cannot find plugins path: C:\EventStoreApp\EventStore\plugins
[14508, 2,08:05:32.991,INF] ClusterVNodeHostedService Using NetMD5 FileHashProvider.
[14508, 2,08:05:33.007,INF] AuthorizationPolicyRegistryFactory No authorization policy plugins found. Only ACLs will be used.
[14508, 2,08:05:34.525,FTL] KurrentDB Invalid Configuration: A certificate is required unless insecure mode (--insecure) is set.
Regression?
Yes
Verify Scenarios:
- Windows 11 24H2 x64 + dotnet-sdk-8.0.411: Pass
- Windows 11 24H2 x64 + dotnet-sdk-10.0.100-preview.6.25326.107: Pass
- Windows 11 24H2 x64 + dotnet-sdk-10.0.100-preview.7.25351.101: Fail
Known Workarounds
No response
Configuration
Application Name: EventStore
OS: Windows 11 24H2
CPU: X64
.NET Build Number: 10.0.100-preview.7.25351.101
Shared App & App Source Location checking at: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2521003
Other information
@dotnet-actwx-bot @dotnet/compat