Setting up SSL for self-hosted instance #1475
-
Hi all. I've been going through the process of setting up a self-hosted instance and wanted to enable SSL so that it won't ever be accessible without network encryption. The server is seemingly running fine, but I can't seem to actually hit the server via a URL. Here are the steps I've taken so far:
Now when I I've also double-checked that my port forwarding on my router is correct. WAN port 443 is forwarding to the relevant machine's port 443. Perhaps my approach is not recommended and/or completely wrong? Would appreciate any pointers if anyone has any. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Nothing wrong in your approach, I think these are all just network configuration issues. Steps 4, 6 and 7 shouldn't be required. Instead, all you need to do is set the But those steps are not related to your problem (that is, it should work even the way you're doing it). I think the issue is just that the port 443 is not getting mapped correctly. I can't tell you where exactly is the problem, but I can maybe rubber duck so that you could try things to debug where is the network issue:
There are 3 connection points
Since you've already added 443:443 to your docker compose mapping, 2<->3 should be fine (but I will still double check by trying to do a If 2<->3 seems fine, then the problem would be 1<->2. Perhaps Docker is not listening on the network interface where your router is connecting to (0.0.0.0 is different from localhost). I hope some of this helps! |
Beta Was this translation helpful? Give feedback.
-
For the record, I found setting up TLS actually fairly straightforward. I created a PR that adds necessary info to the |
Beta Was this translation helpful? Give feedback.
Why don't you set up a reverse proxy and leave localhost:8080 alone?