diff --git a/inc/vCenter-SSL.ps1 b/inc/vCenter-SSL.ps1 index f7dae84d..c593578c 100644 --- a/inc/vCenter-SSL.ps1 +++ b/inc/vCenter-SSL.ps1 @@ -123,9 +123,9 @@ $Params = @{ Uri = "https://$vCenterURL/rest/com/vmware/cis/session" } -if ($IsCoreCLR) { +#if ($IsCoreCLR) { $Params.Add("SkipCertificateCheck", $true) -} +#} try { $RestApi = Invoke-WebRequest @Params @@ -219,9 +219,9 @@ $Params = @{ Body = $json } -if ($IsCoreCLR) { +#if ($IsCoreCLR) { $Params.Add("SkipCertificateCheck", $true) -} +#} Write-Host "Preparing to Replace Certificate." -ForegroundColor Green try {