From f6804fc21df98a86537d190f9a497dc198d19232 Mon Sep 17 00:00:00 2001 From: Alvaro Sedano Date: Sun, 21 Jul 2019 14:30:38 +0200 Subject: [PATCH] Update pfSenseCertViewer.ps1 --- pfSenseCertViewer.ps1 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pfSenseCertViewer.ps1 b/pfSenseCertViewer.ps1 index 6d60796..c05a684 100644 --- a/pfSenseCertViewer.ps1 +++ b/pfSenseCertViewer.ps1 @@ -49,19 +49,12 @@ Function Add-Lista { } -#$CRL = New-Object -ComObject "X509Enrollment.CX509CertificateRevocationList" -#$CRLContents = [System.Convert]::ToBase64String((Get-Content "C:\Users\ASG\Downloads\revocados.crl" -Encoding Byte)) -#[System.Security.Cryptography.X509Certificates.X509CRL2]$ccc = $null - -#https://msdnshared.blob.core.windows.net/media/2016/04/CRLFreshCheck.psm1_.txt - # # BODY # #Read XML pfSense config file -[string]$cfg = "$env:USERPROFILE\Downloads\config-pfSense01.casi.es.private.xml" -#[string]$cfg = "C:\Users\ASG\Downloads\config-e.tecnube.es-20190630223501.xml" +[string]$cfg = "$env:USERPROFILE\Downloads\config-pfSense01.private.xml" [xml]$aaa = Get-Content $cfg -Encoding Default #Get the CRL revocation list