N8n Cloud to Supabase PostgreSQL — Self-Signed Certificate Error

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:

Hi @Inno, the credential you’re using has no CA-upload field, and n8n’s documented custom-CA setup requires container access. There isn’t a documented self-service Cloud procedure for importing Supabase’s CA. “Ignore SSL Issues” bypasses certificate verification rather than fixing trust.

For persistent database connections from n8n, I’d choose the Session pooler on port 5432, using the exact settings from Supabase → Connect → Session pooler. That recommendation is separate from the certificate error; neither pooler port installs the missing CA.

The next steps are:

  1. Download the public CA certificate from Supabase’s Database Settings.
  2. Contact help@n8n.io with your n8n version, instance URL, pooler hostname/port and CA certificate. Ask whether Cloud supports trusting that CA while retaining certificate-chain and hostname validation. Support must confirm availability; don’t assume they can install it.
  3. After a supported trust configuration is in place, test again with SSL = Require and Ignore SSL Issues off before connecting the agents.

If Cloud cannot support that CA, self-hosted n8n provides the documented CA-import route. Using Supabase’s HTTPS Data API would require a different memory implementation, not a direct replacement for Postgres Chat Memory.

Which n8n version and memory node are you using?