feat: self-signed HTTPS for goosed server (#7126)

This commit is contained in:
Andrew Harvard
2026-02-25 14:38:57 -05:00
committed by GitHub
parent 5b8b2cf132
commit 785818bb87
17 changed files with 577 additions and 97 deletions
+5
View File
@@ -70,6 +70,11 @@ export async function setupGoosed({
error: (...args) => console.error('[goosed]', ...args),
};
// Accept self-signed TLS certs from the local goosed server.
// In Electron this is handled by setCertificateVerifyProc, but integration
// tests run in plain Node.js where fetch rejects self-signed certs.
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
const additionalEnv: Record<string, string> = {
GOOSE_PATH_ROOT: tempDir,
};