diff --git a/util/Setup/Program.cs b/util/Setup/Program.cs index bb857a3276..5bf335fd4a 100644 --- a/util/Setup/Program.cs +++ b/util/Setup/Program.cs @@ -289,6 +289,8 @@ public class Program // We need to get an HttpClient that has been configured with custom trust certificates. var httpClient = new ServiceCollection() .AddX509ChainCustomization() + // Setup is always ran for self hosted, so it's fine to hard code this to true and allow chain customization + .AddSingleton(new GlobalSettings { SelfHosted = true }) .BuildServiceProvider() .GetRequiredService() .CreateClient();