Module authentication

Hi,
I tried to register company’s local packagesource with -Trusted, but it seems like it requires additional certificates to be installed or something like that.

I unregistered this source, but the problem is - modules page stuck loading, not showing any modules.
If I try to create a new module - it shows an error (without context)

logs:


[1679994835599] - AuthenticationScheme: "Negotiate" was not authenticated.

[1679994835605] - Challenged 401 Negotiate.

[1679994835610] - AuthenticationScheme: "Negotiate" was challenged.

[1679994835616] - Challenged 401 Negotiate.

[1679994835622] - AuthenticationScheme: "Negotiate" was challenged.

[1679994835626] - AuthenticationScheme: "Negotiate" was not authenticated.

[1679994835631] - Challenged 401 Negotiate.

[1679994835637] - AuthenticationScheme: "Negotiate" was challenged.

[1679994835642] - Challenged 401 Negotiate.

[1679994835652] - AuthenticationScheme: "Negotiate" was challenged.

[1679994835688] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994835695] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994835702] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994835710] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994835721] - An exception occurred while processing the authentication request.

[1679994835727] - An exception occurred while processing the authentication request.

[1679994836640] - AuthenticationScheme: "Negotiate" was not authenticated.

[1679994836647] - Challenged 401 Negotiate.

[1679994836654] - AuthenticationScheme: "Negotiate" was challenged.

[1679994836659] - Challenged 401 Negotiate.

[1679994836663] - AuthenticationScheme: "Negotiate" was challenged.

[1679994836684] - AuthenticationScheme: "Negotiate" was not authenticated.

[1679994836689] - Challenged 401 Negotiate.

[1679994836695] - AuthenticationScheme: "Negotiate" was challenged.

[1679994836698] - Challenged 401 Negotiate.

[1679994836703] - AuthenticationScheme: "Negotiate" was challenged.

[1679994836708] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994836712] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994836717] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994836721] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994836725] - An exception occurred while processing the authentication request.

[1679994836730] - An exception occurred while processing the authentication request.

[1679994838684] - AuthenticationScheme: "Negotiate" was not authenticated.

[1679994838690] - Challenged 401 Negotiate.

[1679994838694] - AuthenticationScheme: "Negotiate" was challenged.

[1679994838698] - Challenged 401 Negotiate.

[1679994838702] - AuthenticationScheme: "Negotiate" was challenged.

[1679994838723] - AuthenticationScheme: "Negotiate" was not authenticated.

[1679994838728] - Challenged 401 Negotiate.

[1679994838732] - AuthenticationScheme: "Negotiate" was challenged.

[1679994838738] - Challenged 401 Negotiate.

[1679994838743] - AuthenticationScheme: "Negotiate" was challenged.

[1679994838748] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994838787] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994838791] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994838795] - An exception occurred while processing the authentication request.

[1679994838799] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994838804] - An exception occurred while processing the authentication request.

[1679994842730] - AuthenticationScheme: "Negotiate" was not authenticated.

[1679994842739] - Challenged 401 Negotiate.

[1679994842752] - AuthenticationScheme: "Negotiate" was challenged.

[1679994842767] - Challenged 401 Negotiate.

[1679994842772] - AuthenticationScheme: "Negotiate" was challenged.

[1679994842794] - AuthenticationScheme: "Negotiate" was not authenticated.

[1679994842800] - Challenged 401 Negotiate.

[1679994842804] - AuthenticationScheme: "Negotiate" was challenged.

[1679994842808] - Challenged 401 Negotiate.

[1679994842813] - AuthenticationScheme: "Negotiate" was challenged.

[1679994842817] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994842822] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994842827] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994842832] - Incomplete Negotiate handshake, sending an additional 401 Negotiate challenge.

[1679994842836] - An exception occurred while processing the authentication request.

[1679994842841] - An exception occurred while processing the authentication request.
Product: PowerShell Universal
Version: 3.8.5

Module page works fine if I disable windows auth… But it isn’t a good solution

How are you hosting PSU? IIS or as a service (based on the log I think a service?).

It’s a bit bizarre the rest of the console would work but not this page.

Hi Adam,
It’s host as a service