Running Asp.net app with HTTPS on local

  • I’m running dotnet core 8 on MacOs using zsh
  • I’ve wanted to test out running asp.net Aspire locally to understand basic setup
  • I’ve stumbled into an immediate issue with running the AppHost project where it couldn’t recognise the HTTPS dev certificate installed.
  • The dotnet cli tool provides some explanation of the commands to run to resolve the issue, however, running them as is didn’t work.
  • To clear the dev certificates requires root privileges but there’s no indication that the other commands to manage certificates and run the project requires the same.
  • If running all commands as sudo (including dotnet run –project ./xx/yy.csproj) it seems to read the HTTPS dev certificate as expected and the app runs.
  • I’d imagine doing the same on WSL or linux systems will be similar.

Posted

in

by

Tags:

Comments

3 responses to “Running Asp.net app with HTTPS on local”

  1. binance registrering Avatar

    Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

  2. doxycycline for uti

    doxycycline for uti

  3. skapa ett binance-konto Avatar

    Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

Leave a Reply

Your email address will not be published. Required fields are marked *