Hello n8n Community,
I’m building a multi-agent AI automation system using n8n Cloud and Supabase PostgreSQL as a shared memory database.
I’ve successfully established a database connection, but I’m experiencing an SSL certificate verification error.
Error message:
self-signed certificate in certificate chain
What I’ve already tested:
Supabase Session Pooler using port 5432
Supabase Transaction Pooler using port 6543
SSL set to Require
A dedicated PostgreSQL database user with valid login credentials
The connection succeeds when I enable Ignore SSL Issues (Insecure), but fails when that option is disabled.
My n8n Cloud PostgreSQL credential settings do not provide a field to upload or specify a trusted CA certificate.
My questions are:
How can I resolve this certificate verification error securely in n8n Cloud?
Does n8n Cloud support adding a trusted CA certificate for PostgreSQL connections?
Is there a recommended configuration for connecting n8n Cloud to Supabase PostgreSQL without disabling certificate verification?
Which Supabase connection method is recommended for persistent AI agent memory workflows?
I’d appreciate step-by-step guidance, as I want to establish a secure, reliable database connection before deploying the AI agents.
Thank you!
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: