I’m trying to add a postgres connection to use with the AI Agent/SQL agent to query against. Would like to have SSL connection, but don’t see a way to add my certificate information and the only help info I’m seeing available is for self hosted.
What is the error message (if any)?
Error: self-signed certificate in certificate chain
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
n8n version: 1.34.2
Database (default: SQLite): n/a but connection is to postgres db in supabase
Hello @Philip_Wiggins
You can’t add a self-signed certificate to the cloud n8n instance. Actually thats really strange that your postgres database does not have a proper certificate while it is exposed to the internet. You have two options:
configure a lets encrypt certificate (free) for the postgres
use a load balancer with proper ssl certificate that will forward traffic to the postgres db