Hi
so the errors i'm getting are not very talkative but checking event log's applications and services logs \ windows admin center, i figured that the application doesn't like the built in certificate. so picking generate new (expires in 60 days) will install well and works without error.
i will now try to generate a certificate using cert-manager.com so we have it for a year.
I install Windows Server 2022, nothing else, update it to the latest version including drivers and everything. Install latest vmware tools too. (it is a VM) Set hostname to wac.ourdomain.local
then install WindowsAdminCenter2410.exe go through the setup as folows:
Accept terms
Custom setup
Remote access
HTML form login
port 443
use preinstalled certificate (and paste the thumbprint from certificate store. (wac.ourdomain.local expires in 2028)
set fdqn to wac.ourdomain.local
allow access to any computer (for testing purposes)
WinRM over HTTPS
Install updates automatically
Required diagnostic data
and when it gets installed the service appears but won't start.
Event log shows "The Windows Admin Center service terminated unexpectedly. It has done this 1 time(s)." in System log,
and in Application log (and this is going to be long):
Application: WindowsAdminCenter.exe
CoreCLR Version: 8.0.1124.51707
.NET Version: 8.0.11
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
at Microsoft.AspNetCore.Server.Kestrel.Core.TlsConfigurationLoader.UseHttpsWithSni(ListenOptions listenOptions, HttpsConnectionAdapterOptions httpsOptions, EndpointConfig endpoint)
at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.Reload()
at Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader.LoadInternal()
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsyncTContext
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
at Microsoft.Extensions.Hosting.Internal.Host.ForeachServiceT
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.WindowsAdminCenter.Core.HostingRuntime.StartAsync(CancellationToken cancellationToken)
at Microsoft.WindowsAdminCenter.Executable.WindowsService.OnStart(String[] args)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
AND:
Faulting application name: WindowsAdminCenter.exe, version: 2.4.0.0, time stamp: 0x67110000
Faulting module name: KERNELBASE.dll, version: 10.0.20348.3089, time stamp: 0x2841fd35
Exception code: 0xe0434352
Fault offset: 0x000000000003f47c
Faulting process id: 0xde8
Faulting application start time: 0x01db79bf284fe82e
Faulting application path: C:\Program Files\WindowsAdminCenter\Service\WindowsAdminCenter.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 06d7cb79-03b7-44a8-ac42-5c110a735959
Faulting package full name:
Faulting package-relative application ID: