mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-15 00:35:47 -07:00
Additional changes
This commit is contained in:
@@ -465,7 +465,8 @@ function Initialize-BorealisTlsContext {
|
|||||||
foreach ($path in $candidatePaths) {
|
foreach ($path in $candidatePaths) {
|
||||||
$exists = $false
|
$exists = $false
|
||||||
try { $exists = Test-Path $path -PathType Leaf } catch {}
|
try { $exists = Test-Path $path -PathType Leaf } catch {}
|
||||||
Write-Verbose ("Evaluating Borealis TLS candidate: {0} (exists={1})" -f $path, ($exists ? 'true' : 'false'))
|
$existsText = if ($exists) { 'true' } else { 'false' }
|
||||||
|
Write-Verbose ("Evaluating Borealis TLS candidate: {0} (exists={1})" -f $path, $existsText)
|
||||||
if (-not $exists) { continue }
|
if (-not $exists) { continue }
|
||||||
try {
|
try {
|
||||||
$trusted += Get-CertificatesFromPem -Path $path
|
$trusted += Get-CertificatesFromPem -Path $path
|
||||||
|
|||||||
Reference in New Issue
Block a user