I want to test Azure Function Http trigger locally on windows.
I use azure-function-core-tools to run command like
func start --port 5007 --useHttps
And then I got error : Auto cert generation is currently not working on the .NET Core build.
It seems like that I should use command like
func start --port 5007 --useHttps --cert certificate.pfx
after I creating a self-signed certificate locally.
If there is a way to enable https easily?
The way like when I use .net core webapi, I easily export env:ASPNETCORE_URLS=https://localhost. And after clicking some button, I can use https well. Do we have some thing like this?
Or if func start --port 5007 --useHttps
is enough but i miss some configuration?
Thank you!