mirror of
https://github.com/alvarsedano/pfSense-Certificate-Viewer.git
synced 2025-06-28 01:07:00 +00:00
remove-variable was disabled for debugging
This commit is contained in:
parent
3c20a25dd6
commit
a5602eea77
@ -239,7 +239,7 @@ if ($fxml.ChildNodes.Count -eq 2) {
|
|||||||
Exit 6
|
Exit 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#Remove-Variable fxml -ErrorAction SilentlyContinue
|
Remove-Variable fxml -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
|
||||||
#Get the CRL revocation list
|
#Get the CRL revocation list
|
||||||
@ -263,13 +263,13 @@ foreach($a in $listaU) {
|
|||||||
|
|
||||||
#Add CA Certificates to $listaC (WITHOUT private keys)
|
#Add CA Certificates to $listaC (WITHOUT private keys)
|
||||||
[array]$listaC = @()
|
[array]$listaC = @()
|
||||||
Add-Lista -lista ([ref]$listaC) -obj ([ref]$product.ca) -fromCA $true -isOpnSense $($product.Name -eq 'opnsense')
|
Add-Lista -lista ([ref]$listaC) -obj ([ref]$product.ca) -fromCA $true
|
||||||
|
|
||||||
#Add user/server certificates to $listaC (WITHOUT private keys)
|
#Add user/server certificates to $listaC (WITHOUT private keys)
|
||||||
Add-Lista -lista ([ref]$listaC) -obj ([ref]$product.cert) -fromCA $false -isOpnSense $($product.Name -eq 'opnsense')
|
Add-Lista -lista ([ref]$listaC) -obj ([ref]$product.cert) -fromCA $false -isOpnSense $($product.Name -eq 'opnsense')
|
||||||
#Note: User Certificates created with old pfSense versions can set the EnhancedKeyUsageList property to <empty>
|
#Note: User Certificates created with old pfSense versions can set the EnhancedKeyUsageList property to <empty>
|
||||||
|
|
||||||
#Remove-Variable product, r, listaR, listaU, listaG -ErrorAction SilentlyContinue
|
Remove-Variable product, r, listaR, listaU, listaG -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
###
|
###
|
||||||
### Ruta de archivo CSV destino (delimitado por punto y coma)
|
### Ruta de archivo CSV destino (delimitado por punto y coma)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user