mirror of
https://github.com/alvarsedano/pfSense-Certificate-Viewer.git
synced 2025-08-18 18:42:23 +00:00
Correction of spelling errors.
This commit is contained in:
parent
5ba4102592
commit
a394eb6821
@ -2,10 +2,12 @@
|
|||||||
### pfSense Certificate Viewer (without private key)
|
### pfSense Certificate Viewer (without private key)
|
||||||
### Version 1.0.5
|
### Version 1.0.5
|
||||||
####
|
####
|
||||||
# Please, redefine the $cfg string variable to point to a valid unecrypted pfSense Configuration XML file.
|
# Redefine the $cfg string variable to point to a valid pfSense Configuration XML file.
|
||||||
# You can also use the command line FilePath parameter as path to the input XML cfg file
|
# You can also use the command line FilePath parameter as path to the input XML cfg file
|
||||||
|
|
||||||
# This script will return the CA certificates, Server certificates, User certificates (used or not) and duplicated Serial Number Certificates
|
# This script will return the CA certificates, Server certificates, User certificates (used or not)
|
||||||
|
# and duplicated Serial Number Certificates. If as result of errors generating serialnumber certificates,
|
||||||
|
# duplicated serialnumber certs (from the same CA) will be reported.
|
||||||
#
|
#
|
||||||
# Tested on PowerShell 5.0 and avobe
|
# Tested on PowerShell 5.0 and avobe
|
||||||
# Created by Alvaro Sedano Galindo. al_sedano@hotmail.com
|
# Created by Alvaro Sedano Galindo. al_sedano@hotmail.com
|
||||||
@ -93,7 +95,7 @@ Function Decrypt {
|
|||||||
[string]$rutaREG = "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN"
|
[string]$rutaREG = "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN"
|
||||||
if (-not (Test-Path($rutaREG))) {
|
if (-not (Test-Path($rutaREG))) {
|
||||||
Write-Host 'No openvpn installation found. openssl.exe is part of the openVPN installation. ' + `
|
Write-Host 'No openvpn installation found. openssl.exe is part of the openVPN installation. ' + `
|
||||||
'If you have another openssl.exe available path, you can redefine the $openSSL variable at line 90.' -BackgroundColor DarkRed
|
'If you have another openssl.exe available path, you can redefine the $openSSL variable at line 92.' -BackgroundColor DarkRed
|
||||||
Exit 3
|
Exit 3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user