Skip to content

WASM - Dev certificate error on Windows #116695

Closed

Description

@jozkee

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1068222
Build error leg or test failing: WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution
Pull request: #116639

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["--run WasmTestRunner.dll", "Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1068222
Error message validated: [--run WasmTestRunner.dll Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/16/2025 3:38:23 PM UTC

Report

Build Definition Test Pull Request
1092331 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117530
1092311 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117428
1092246 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117540
1092212 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #110472
1092193 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117465
1092196 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117465
1092145 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1092141 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117495
1092121 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117277
1092047 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #115228
1092043 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117414
1091977 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117410
1091951 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1091944 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #114619
1091938 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117458
1091934 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117495
1091920 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117259
1091709 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116652
1091832 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117532
1091546 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #115443
1091761 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117467
1091758 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117530
1091750 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #113399
1091689 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117192
1091422 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117513
1091380 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117259
1091170 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116539
1091051 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117503
1090239 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116791
1090826 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117318
1090835 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117192
1090576 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117256
1087661 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117392
1090014 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117465
1089926 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117458
1089913 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117336
1089258 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117450
1089706 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116411
1089423 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117428
1089354 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117259
1089503 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117318
1088410 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117414
1089494 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1089427 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117336
1089316 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117105
1089151 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117437
1088719 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117428
1088670 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117374
1088487 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117398
1088021 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117410
1087795 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117397
1087738 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117383
1087716 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116555
1087687 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117023
1087609 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117330
1086525 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117330
1086419 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117336
1086126 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116075
1086094 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117321
1086024 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #115275
1085632 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117304
1085158 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117276
1084966 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #113299
1084661 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117023
1084127 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116433
1083805 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117236
1083457 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116903
1083198 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117105
1083160 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116555
1082879 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117191
1082931 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #108569
1082883 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116903
1082654 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1082625 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #116901
1082346 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117103
1082323 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116411
1082096 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #117160
1082199 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #117175
1081973 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #116881
1082097 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #117160
1082061 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #116659
1081950 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #117150
1081700 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution
1081522 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116426
1081227 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117103
1081001 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117016
1080580 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117105
1080556 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116901
1080216 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117089
1080099 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116791
1079471 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117071
1079805 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116910
1079646 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117008
1079577 dotnet/runtime WasmTestOnChrome-ST-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #117074
1079480 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117034
1079259 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1078395 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #116729
1078227 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117028
1078226 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1078221 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117027
Displaying 100 of 171 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 55 171

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Jun 16, 2025
  2. added
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Jun 16, 2025
  3. added this to the 10.0.0 milestone on Jun 16, 2025
  4. ilonatommy commented on Jun 17, 2025

    @ilonatommy
    Member

    We are running

    <HelixCommand Condition="'$(InstallDevCerts)' == 'true' and '$(WindowsShell)' == 'true'">$(HelixCommand) powershell -command &quot;New-SelfSignedCertificate -FriendlyName &#39;ASP.NET Core HTTPS development certificate&#39; -DnsName @(&#39;localhost&#39;) -Subject &#39;CN = localhost&#39; -KeyAlgorithm RSA -KeyLength 2048 -HashAlgorithm sha256 -CertStoreLocation &#39;Cert:\CurrentUser\My&#39; -TextExtension @(&#39;2.5.29.37={text}1.3.6.1.5.5.7.3.1&#39;,&#39;1.3.6.1.4.1.311.84.1.1={hex}02&#39;,&#39;2.5.29.19={text}&#39;) -KeyUsage DigitalSignature,KeyEncipherment&quot; &amp;&amp; </HelixCommand>
    that should take care of it. Not sure yet what changed about this line that it does not have an effect.

    'export' is not recognized as an internal or external command,
    operable program or batch file.
    export XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1
    

    Is TargetOS misdefined?

    <SetScriptCommands Condition="'$(TargetOS)' != 'windows'" Include="export XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1" />

    Yes, TargetOS=browser and that condition should be "'$(OS)' == 'Windows_NT'". However, that's not the reason for the failure.

  5. changed the title [-]WASM - Dev certificate error[/-] [+]WASM - Dev certificate error on Windows[/+] on Jun 17, 2025
  6. ilonatommy commented on Jun 17, 2025

    @ilonatommy
    Member

    This started with merging #116583

  7. lewing commented on Jun 17, 2025

    @lewing
    Member
  8. dotnet-policy-service commented on Jun 17, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing
    See info in area-owners.md if you want to be subscribed.

  9. removed
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Jun 27, 2025
  10. akoeplinger commented on Jul 13, 2025

    @akoeplinger
    Member

    Fixed by #117526

  11. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Aug 5, 2025
  12. locked and limited conversation to collaborators on Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions