dotnet / dotnet/aspnetcore

Aftering making trust certificate: Unable to configure HTTPS endpoint. No server certificate was specified

Open
#13,941 4 comments 0 reactions 0 assignees View on GitHub
affected-very-few area-networking enhancement severity-nice-to-have
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Describe the bug
I created a Razor pages in Windows Visual Studio 2019. It works great when running through Visual Studio or through the dot net cli in Powershell. I then opened the project on macOS and it crashes. It complains about the http certificate even though it's already set up.

### To Reproduce
Steps to reproduce the behavior:
1. Create a Razor Page project with individual user accounts in windows.
1. Copy the files to a mac machine.
2. Run that same project in mac (using visual studio or the cli).
4. See error.

### Expected behavior
The app to run.

### Additional context

- When I run it in mac, (using the cli or VS) sometimes the apple reporting issue appears. Here is its output:
https://gist.github.com/AskYous/e19ab8dc815228bf561a34577887b2b8

- When I run it using the dot net cli, here is the output:
https://gist.github.com/AskYous/031dfe0b64183bee5815da998072921a

- When I run `dotnet --info`, here is the output:
https://gist.github.com/AskYous/57dcc823ff23897108c343588f81720d

- Here is the link to the code of this project:
https://github.com/islaam-database/IslaamDatabase.com

- I also have 2.2.401 being used on both machines (via `dotnet --version`)

Edit:

I just tested creating a new Razor pages project with individual user authentication in Visual Studio in Windows. I didn't change any code, ran it, and it worked. I then opened it in Mac and the same error happened. So this is nothing to do with my project specifically.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.