MSI auth token expiration check is wrong
gvarun22 opened this issue · comments
gvarun22 commented
if ($expireson -ge [DateTime]::UtcNow) { Write-Error -Message "The MSI auth token has expired." Exit(1) }
should be changed to
if ($expireson -lt [DateTime]::UtcNow) { Write-Error -Message "The MSI auth token has expired." Exit(1) }
in file SetupSsl.ps1 since it incorrectly shows the MSI auth token as expired.