How to pass different(!) WEBHOOK and Editor SSL certs to docker?

Describe the problem/error/question

We are using different URLs for the editor and the webhook endpoint.
Passing SSL certs to the docker container works, but only for the webhook endpoint.
I know the
N8N_SSL_KEY=/certs/key.pem
N8N_SSL_CERT=/certs/cert.pem
in .env
But are there any variables for the editor url?

What is the error message (if any)?

The problem is that when I test a webhook is using the editor url - if i want to test this in certain apps, they fail because the Cert doesnt match the url.

Please share your workflow

Just webhoook

Information on your n8n setup

  • n8n version: Version 1.97.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker compose
  • Operating system: Ubunt

hello @hachi

Use the reverse proxy, like Nginx, to configure any domains and certificates you want.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.