Skip to content

Investigate issues with templates failing start due to development certificate. #20479

@jkotalik

Description

@jkotalik

https://dev.azure.com/dnceng/public/_build/results?buildId=582840&view=ms.vss-test-web.build-test-results-tab&runId=18353670&resultId=120237&paneView=debug

[ERROR] Unhandled exception. System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
[ERROR] To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.

System.InvalidOperationException : Couldn't find the listening URL.

   at Templates.Test.Helpers.AspNetProcess..ctor(ITestOutputHelper output, String workingDirectory, String dllPath, IDictionary`2 environmentVariables, Boolean published, Boolean hasListeningUri, ILogger logger) in /_/src/ProjectTemplates/test/Helpers/AspNetProcess.cs:line 72
   at Templates.Test.Helpers.Project.StartBuiltProjectAsync(Boolean hasListeningUri, ILogger logger) in /_/src/ProjectTemplates/test/Helpers/Project.cs:line 224
   at Templates.Test.MvcTemplateTest.MvcTemplateCore(String languageOverride) in /_/src/ProjectTemplates/test/MvcTemplateTest.cs:line 88
   at Templates.Test.MvcTemplateTest.MvcTemplate_NoAuthCSharp() in /_/src/ProjectTemplates/test/MvcTemplateTest.cs:line 33
--- End of stack trace from previous location ---

cc @mkArtakMSFT

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions