diff --git a/packages/safe-chain/src/registryProxy/certUtils.js b/packages/safe-chain/src/registryProxy/certUtils.js index 0c59dbe..4470c93 100644 --- a/packages/safe-chain/src/registryProxy/certUtils.js +++ b/packages/safe-chain/src/registryProxy/certUtils.js @@ -177,13 +177,13 @@ export async function installSafeChainCA() { if (result.status !== 0) { throw new Error(`Failed to install CA certificate into user trust store (exit code ${result.status}).`); } - ui.writeVerbose("Safe-chain: CA certificate installed in user trust settings (no admin prompt)."); + ui.writeVerbose("Safe-chain: CA certificate was installed in user trust settings."); } else if (platform === OS_LINUX) { // Linux: use update-ca-certificates await safeSpawn("sudo", ["cp", caPath, LINUX_CA_PATH], { stdio: "inherit" }); await safeSpawn("sudo", ["update-ca-certificates"], { stdio: "inherit" }); } else if (platform === OS_WINDOWS) { - // Windows: use certutil (with UAC elevation prompt) + // Windows: use certutil (will cause UAC elevation prompt) const psCommand = `Start-Process -FilePath certutil -ArgumentList '-addstore','-f','Root','${caPath}' -Verb RunAs -Wait`; await safeSpawn("powershell", ["-Command", psCommand], { stdio: "inherit" }); } else { diff --git a/test/e2e/pip.e2e.spec.js b/test/e2e/pip.e2e.spec.js index 5d96fbb..c335cd0 100644 --- a/test/e2e/pip.e2e.spec.js +++ b/test/e2e/pip.e2e.spec.js @@ -266,7 +266,7 @@ describe("E2E: pip coverage", () => { // Should NOT contain SSL or certificate errors assert.ok( !result.output.match( - /SSL|certificate verify failed|CERTIFICATE_VERIFY_FAILED/i + /certificate verify failed|CERTIFICATE_VERIFY_FAILED/i ), `Should not have SSL/certificate errors. Output was:\n${result.output}` );