Ahoj Antonine,
jen domnenka: nemel bys zmenit certifikat i pro IIS? RRAS bezne dost nadava, pokud nema stejny cert.
MP
Tento prohlížeč se už nepodporuje.
Upgradujte na Microsoft Edge, abyste mohli využívat nejnovější funkce, aktualizace zabezpečení a technickou podporu.
Environment: Windows Server 2025, RRAS with SSTP VPN + IIS on same box. Certificates issued by win-acme (Let's Encrypt), applied via Set-RemoteAccess -SslCertificate followed by a RemoteAccess service restart.
Issue: After applying a new SSTP certificate, stopping/restarting RemoteAccess (via Stop-Service, Restart-Service, or net stop) reproducibly hangs in STOP_PENDING indefinitely. Reproduced twice so far, always shortly after a live cert binding update.
Key evidence:
sc.exe queryex RemoteAccess
STATE : 3 STOP_PENDING (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
CHECKPOINT : 0x3 (never advances)
PID : 1084
taskkill /PID 1084 /F -> "SUCCESS"
Get-Process -Id 1084 -> process still exists, CPU(s) not increasing
Process (svchost.exe hosting only RasMan + RemoteAccess) does not actually terminate even after TerminateProcess succeeds — consistent with a thread stuck in an uninterruptible kernel-mode wait. Only a full VM power-cycle clears it; graceful OS shutdown also hangs on this service.
Ruled out:
Active VPN sessions (\RAS Total\Total Connections = 0 at time of hang)
Certificate/private key problems (reproduced with a fresh, fully valid cert)
SCM circular dependency (sc qc RemoteAccess/sc qc SstpSvc show no mutual dependency)
Our own automation script bugs (relative path issue found & fixed separately)
No error events logged in System/Application logs at time of hang
Questions:
Known Server 2025 RRAS/RasMan deadlock when restarting RemoteAccess shortly after Set-RemoteAccess -SslCertificate?
Supported safer sequence to rotate SSTP cert at runtime without this hang (e.g. stop SstpSvc first, or Set-VpnServerConfiguration -SstpPorts 0 before restart)?
Which ETW/kernel trace should we capture live next time this reproduces (e.g. Microsoft-Windows-RasSstp, WPR profile, procdump)?
Any relevant hotfix/KB for Server 2025 RRAS stop hangs?
Happy to provide a live kernel dump or ETW trace of the stuck svchost.exe next time it reproduces — please advise preferred collection method.
Ahoj Antonine,
jen domnenka: nemel bys zmenit certifikat i pro IIS? RRAS bezne dost nadava, pokud nema stejny cert.
MP