Open tastyeggs opened 5 years ago
Is there a way to change that directory to point to your local app work
directory where your running app has permissions to write ? May be they provide some environment variable
for the path.
@ashishnegi, not that I know of.
Things should just work on first run, and ASP.NET Core is seen as a first-class member of Service Fabric, so it should work on first run :)
I think the issue here is:
So the only way out here is for service fabric to create the sfappuser
user, along with the home directory, which is a very easy change to make to the service fabric installer.
/cc @maburlik for question regarding :
So the only way out here is for service fabric to create the sfappuser user, along with the home directory, which is a very easy change to make to the service fabric installer.
When a ASP.NET Core is deployed on an Ubuntu instance, HTTPS requests start failing with the following exception:
This is likely because SF on Ubuntu runs the application as user
sfappsuser
, and ASP.NET Core is trying to build a certificate cache in the user's home directory, which isn't created.Creating the above path -- /home/sfappsuser/.dotnet/corefx/cryptography/x509stores/ca makes this work.
This doesn't happen on Windows.