Closed olkkoo closed 2 years ago
I am not sure, why you need the PFX for Kestrel, since the whole point of the script is that it will add the cert to dotnet and will be used by kestrel in development automatically.
But, I guess it does not hurt to have the PFX with the cert option.
PFX file is needed in dotnet Kestrel. It can be given through an environment variable that tells Kestrel the path to the PFX file.
ASPNETCORE_Kestrel__Certificates__Default__Path
is the variable name. That can be added to.bashrc
or similar.