Difficulty to add a ZeroSSL cert/key to n8n to get it working in HTTPS

Describe the problem/error/question

I cannot get my HTTPS certificate from ZeroSSL to work with n8n. Every time I add the certificate and key using the N8N_SSL_CERT and N8N_SSL_KEY to the docker-compose-yaml file it breaks. For now we are using it with HTTP, but that’s not ideal for us.

I’ve tried disabling traefik with traefik.enable=false but no sucesses either.

None of the topics about it here looks like the problem we are having.

Can someone give a light on this? I’m really new to n8n.

What is the error message (if any)?

No error message, just no connection.

Information on your n8n setup

  • n8n version: 3.7
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 24.04.1 LTS

Hey @Nata_Silva

Am not sure ure usecase, but I used a tunnel with cloudflare,

Are you setting webhook url with https also?

Samuel