# SSL fail on Synology Docker installation

**URL:** <https://forums.rocket.chat/t/ssl-fail-on-synology-docker-installation/6027>\
**Category:** Community Support\
**Created:** [March 8, 2020, 5:55pm UTC](https://forums.rocket.chat/t/ssl-fail-on-synology-docker-installation/6027 "2020-03-08T17:55:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![free521](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/free521/32/1561_2.png) [@free521](https://forums.rocket.chat/u/free521)\
**Post date:** [March 8, 2020, 5:55pm UTC](https://forums.rocket.chat/t/ssl-fail-on-synology-docker-installation/6027/1 "2020-03-08T17:55:34Z")

</div>

I have install a Rocket chat on the Synology, and I can login by the [http://domain.com:3000](http://domain.com:3000) from the internet but I can’t set up the SSL, I have try this:

# [Enabling HTTPS with rocket.chat docker on Synology](https://forums.rocket.chat/t/enabling-https-with-rocket-chat-docker-on-synology/1934)

but the port 443 is blocked in my case, so I change it to a random number like 3278, but still fail to login.  
Anyone has an idea about it?

### Server Setup Information

- Version of Rocket.Chat Server: 2.4.9
- Operating System: synology DSM 6.2
- Deployment Method:docker
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version: 4.2
- Proxy: 
- Firewalls involved:

### Any additional Information

I have try to login “https-mydomain:1234” and with reverse proxy from “https-mydomain:1234” to “https-ocalhost:3000”, but it is alway show a information “sent an invalid response.”

---

<div class="post-metadata">

**Author:** ![frederik.t](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/frederik.t/32/167_2.png) [@frederik.t](https://forums.rocket.chat/u/frederik.t)\
**Post date:** [March 9, 2020, 2:37pm UTC](https://forums.rocket.chat/t/ssl-fail-on-synology-docker-installation/6027/2 "2020-03-09T14:37:14Z")

</div>

Have you forwarded port 443 from your router to your NAS? If you forward port 443 to your NAS, and setup reverse proxy correctly in DSM and have a lets encrypt certificate for that domain, you should be able to login without much trouble by going to the correct URL, like: [https://your-rocket-chat.your-domain.com](https://your-rocket-chat.your-domain.com).

---

<div class="post-metadata">

**Author:** ![free521](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/free521/32/1561_2.png) [@free521](https://forums.rocket.chat/u/free521)\
**Post date:** [March 9, 2020, 2:55pm UTC](https://forums.rocket.chat/t/ssl-fail-on-synology-docker-installation/6027/3 "2020-03-09T14:55:11Z")

</div>

I set DMZ, so there’s no forward issue.  
Now it’s works by reverse proxy from “https-mydomain:1234” to “http(no s)-ocalhost:3000”, Seems fine.

It really hard to setup rockchat from docker with mongo, always show error about oplog problem.  
Really need a tutorials.

---

<div class="post-metadata">

**Author:** ![frederik.t](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/frederik.t/32/167_2.png) [@frederik.t](https://forums.rocket.chat/u/frederik.t)\
**Post date:** [March 9, 2020, 3:32pm UTC](https://forums.rocket.chat/t/ssl-fail-on-synology-docker-installation/6027/4 "2020-03-09T15:32:43Z")

</div>

Sound to me like you have it set up correctly then. Just be careful with DMZ though, I personally wouldn’t recommend it unless you really know what you are doing.  
About the oplog stuff, I think someone else here might help with that 🙂

---

<div class="post-metadata">

**Author:** ![free521](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/free521/32/1561_2.png) [@free521](https://forums.rocket.chat/u/free521)\
**Post date:** [March 9, 2020, 4:21pm UTC](https://forums.rocket.chat/t/ssl-fail-on-synology-docker-installation/6027/5 "2020-03-09T16:21:40Z")

</div>

Yes, and thank you !  
I think I achieved it by luck, I can not repeat it. Really need step by step tutorials.

---

<div class="post-metadata">

**Author:** ![frederik.t](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/frederik.t/32/167_2.png) [@frederik.t](https://forums.rocket.chat/u/frederik.t)\
**Post date:** [March 10, 2020, 9:09am UTC](https://forums.rocket.chat/t/ssl-fail-on-synology-docker-installation/6027/6 "2020-03-10T09:09:59Z")

</div>

Glad you got it working 🙂 Well yeah there is not a single definitive walk-through of installing rocket.chat on a Synology NAS, but it seems like you got it sorted anyway 😉
