mirror of
https://github.com/alvarsedano/pfSense-Certificate-Viewer.git
synced 2025-06-28 01:07:00 +00:00
Add files via upload
This commit is contained in:
parent
faf5d60052
commit
0d80ced545
@ -148,7 +148,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 (line# 140).' -BackgroundColor DarkRed
|
'If you have another openssl.exe available path, you can redefine the $openSSL variable (line# 145).' -BackgroundColor DarkRed
|
||||||
Exit 3
|
Exit 3
|
||||||
}
|
}
|
||||||
$openSSL = ((Get-ItemProperty -Path $rutaREG).exe_path).Replace("openvpn.exe", "openssl.exe")
|
$openSSL = ((Get-ItemProperty -Path $rutaREG).exe_path).Replace("openvpn.exe", "openssl.exe")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user