mirror of
https://github.com/alvarsedano/pfSense-Certificate-Viewer.git
synced 2025-04-19 08:55:11 +00:00
Update pfSenseCertViewer.ps1
This commit is contained in:
parent
f350ebca84
commit
f6804fc21d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user