Describe the bug
When connecting Flowise (running inside a Docker container) to a PostgreSQL database that uses an internal corporate CA, the connection fails with:
Status: 500 Error: documentStoreServices.insertIntoVectorStore - Error: unable to verify the first certificate.
The same TLS connection to the same database works perfectly when tested manually with:
- openssl s_client -connect db:5432 -starttls postgres
- psql "postgresql://user:pass@db/db?sslmode=verify-full"
- MCP connection in Flowise, when providing the SSL and certificate parameters manually
This indicates the container has the correct CA chain installed and OpenSSL verification succeeds, but Flowise does not respect the system CA store.
To Reproduce
- Run Flowise in Docker
- Install and verify CA inside the container
- In Flowise GUI → create a new Vector Store → choose PostgreSQL with SSLmode on
- Click upsert
Expected behavior
Flowise should reuse system certificates or respect environment variables such as:
PGSSLROOTCERT=/etc/ssl/cert.pem
PGSSLMODE=verify-full
Screenshots
No response
Flow
No response
Use Method
Docker
Flowise Version
3.0.8
Operating System
Linux
Browser
Chrome
Additional context
No response