From a0adc131e592692255cdfbe3c969f0be625496f9 Mon Sep 17 00:00:00 2001 From: Reinier Criel Date: Mon, 10 Nov 2025 15:40:36 -0800 Subject: [PATCH] Fix certUtils --- packages/safe-chain/src/registryProxy/certBundle.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/safe-chain/src/registryProxy/certBundle.js b/packages/safe-chain/src/registryProxy/certBundle.js index c6582a4..956279d 100644 --- a/packages/safe-chain/src/registryProxy/certBundle.js +++ b/packages/safe-chain/src/registryProxy/certBundle.js @@ -61,11 +61,7 @@ export function getCombinedCaBundlePath() { const safeChainPath = getCaCertPath(); try { const safeChainPem = fs.readFileSync(safeChainPath, "utf8"); - if (isParsable(safeChainPem)) - { - parts.push(safeChainPem.trim()); - console.log("[Safe Chain] Loaded Safe Chain CA from:", safeChainPath); - } + if (isParsable(safeChainPem)) parts.push(safeChainPem.trim()); } catch { // Ignore if Safe Chain CA is not available } @@ -95,6 +91,5 @@ export function getCombinedCaBundlePath() { const target = path.join(os.tmpdir(), "safe-chain-ca-bundle.pem"); fs.writeFileSync(target, combined, { encoding: "utf8" }); cachedPath = target; - console.log(`Created combined CA bundle at: ${cachedPath}`); return cachedPath; }