Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Use `NODE_EXTRA_CA_CERTS` to fix the problem
Fang-Pen Lin8246483e8adf
diff --git a/docker-compose.bdd.yml b/docker-compose.bdd.ymlindex 2984bf386a..7264ddae1a 100644--- a/docker-compose.bdd.yml+++ b/docker-compose.bdd.yml@@ -41,12 +41,6 @@ services:build:context: ./backenddockerfile: Dockerfile.dev- command:- - "/bin/bash"- - "-c"- - |- update-ca-certificates && \- npm run dev:dockerdepends_on:db:condition: service_started@@ -61,8 +55,11 @@ services:- NODE_ENV=development- DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable- TELEMETRY_ENABLED=false+ # This is needed to trust the Pebble CA certificate, which is used for the BDD tests+ - NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/pebble.minica.crtvolumes:- ./backend/src:/app/src+ # This is needed to trust the Pebble CA certificate, which is used for the BDD tests- ./backend/bdd/pebble/pebble.minica.pem:/usr/local/share/ca-certificates/pebble.minica.crt:ro- softhsm_tokens:/etc/softhsm2/tokens # SoftHSM tokens are stored in a volume to persist across container restartsextra_hosts: