When mounting my Certbot let’s encrypt certificates to the docker container it can read the fullchain.pem file but not the privatekey.pem file (due to the docker container not having root access to read the files). I have tried to use a reverse proxy on the host but the docs are quite vague.
What is the error message (if any)?
permission denied to read privatekey on start
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.)
Hi @Bejing_Corn Welcome!
Have you tried using a reverse proxy like Nginx or Traefik to handle SSL termination rather than just passing certificates to the container, what i mean is that Ngnix running on Host must have root access so that it can read certbot private key , also n8n only receives plain HTTP from localHost.
Yes I have tried using a reverse proxy (nginx) but I ran into some issues with the n8n client communicating with the server. It could not initiate a web socket connection running though the proxy and I just gave up on that. Il’l try again.
EDIT: Its also having issues communicating with the rest api
hi @Bejing_Corn - please share your docker compose file - likely you’ll need to map the ports or validate docker network is open to both nginx and n8n containers.