SSL on Linux will not currently work. See https://github.com/dotnet/runtime/issues/19752 Workaround is to use nginx as a proxy to handle SSL and leave your code as non-SSL.