Update pfSenseCertViewer.ps1

This commit is contained in:
Alvaro Sedano 2019-07-21 14:30:38 +02:00 committed by GitHub
parent f350ebca84
commit f6804fc21d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 # BODY
# #
#Read XML pfSense config file #Read XML pfSense config file
[string]$cfg = "$env:USERPROFILE\Downloads\config-pfSense01.casi.es.private.xml" [string]$cfg = "$env:USERPROFILE\Downloads\config-pfSense01.private.xml"
#[string]$cfg = "C:\Users\ASG\Downloads\config-e.tecnube.es-20190630223501.xml"
[xml]$aaa = Get-Content $cfg -Encoding Default [xml]$aaa = Get-Content $cfg -Encoding Default
#Get the CRL revocation list #Get the CRL revocation list