What I cannot figure out... is for "Deploying a self-contained app"
This means that dotnet is probably not installed, which mean you cannot run such command "dotnet dev-certs https -v".
Which mean you cannot get ssl working locally
now... what would be nice if they explain how you would get this working step by step, for dev and prod if they should be different.
"Deploying a self-contained app" try running with something like
sudo ASPNETCORE_URLS=https://*:5001 ./dotnetWebApp
This will not work as there is no localhost cert. it suggests "dotnet dev-certs https -v" but dotnet is not installed.
sudo ASPNETCORE_URLS=http://*:5000 ./dotnetWebApp - this works
If you install dotnet what was the point of "Deploying a self-contained app".
Please help, with how you get local ssl when you have not installed dotnet.
Reason its not installed as you have gone with "Deploying a self-contained app"
looking for how this is done on Raspberry OS
links which are linked to the issue but not step by step for raspberry:
https://blog.tonysneed.com/2019/10/13/enable-ssl-with-asp-net-core-using-nginx-and-docker/
How to run 'dotnet dev-certs https --trust'?
https://dev.to/ianknighton/hosting-a-net-core-app-with-nginx-and-let-s-encrypt-1m50
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-5.0
Update with more info for what im after
build a dotnet app for arm which is self contained, deploy to server and run... now run it on ssl... you cant as localhost has not been setup with a cert, so how do you do this for raspberry. aka lets say you have a "nginx reverse proxy" forward of port externalIP:443 to your internalIP:443, the internal one wont work... as it cant start the app as it has no cert.
I am not talking about getting a cert for the externalIP, im asking how do you start the dotnet app if it wont start due to there being no cert for it to run on say https:localhost:5001
like in may of the examples... except they had dotnet installed, and forced it to run "dotnet dev-certs https -v" which sets up the localhost cert.
so how is this meant to be done?