Harden NTLM authentication and restore SGU profiles

This commit is contained in:
2026-09-01 16:42:25 -06:00
parent a166193b66
commit fe77229b48
19 changed files with 657 additions and 226 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ if (-not $certificate -or -not $certificate.HasPrivateKey) {
try {
$body = @{ clave = $clave; password = $password } | ConvertTo-Json -Compress
Invoke-RestMethod -Method Post -Uri $BrokerEndpoint -Certificate $certificate `
-ContentType 'application/json' -Body $body -TimeoutSec 20
-ContentType 'application/json' -Body $body -TimeoutSec 90
}
finally {
$password = $null