From 4691f5c9d9b630cbc5380365557f8ae8b79917ec Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 25 Aug 2025 20:12:14 -0500 Subject: [PATCH] Update vCenter-SSL.ps1 --- inc/vCenter-SSL.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/vCenter-SSL.ps1 b/inc/vCenter-SSL.ps1 index 8cdb3041..6ef5416d 100644 --- a/inc/vCenter-SSL.ps1 +++ b/inc/vCenter-SSL.ps1 @@ -143,7 +143,7 @@ $CheckSLL = Get-PACertificate -MainDomain $CommonName $RUN=$true If ((($CheckSLL).AllSANs) -eq $CommonName) { $daysUntilExpiration = (New-TimeSpan -Start (Get-Date) -End $CheckSLL.NotAfter).Days - If ($daysUntilExpiration -lt 30) { + If ($daysUntilExpiration -lt 300) { Write-Host "Renewing cert for '$("$CommonName")' " -ForegroundColor Yellow Submit-Renewal $CommonName }