# Force OTR for self hosted server?

**URL:** <https://forums.rocket.chat/t/force-otr-for-self-hosted-server/2182>\
**Category:** Feature Requests (historic archive)\
**Created:** [October 4, 2018, 8:03pm UTC](https://forums.rocket.chat/t/force-otr-for-self-hosted-server/2182 "2018-10-04T20:03:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacubillo](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/jacubillo/32/599_2.png) [@jacubillo](https://forums.rocket.chat/u/jacubillo)\
**Post date:** [October 4, 2018, 8:03pm UTC](https://forums.rocket.chat/t/force-otr-for-self-hosted-server/2182/1 "2018-10-04T20:03:10Z")

</div>

Hello Guys,  
Been testing RocketChat and so far everything is great.

Only 1 question… Is there any way to force OTR, e2e encryption for all users/groupchats in a manually installed server?

Regards,

- Juan

---

<div class="post-metadata">

**Author:** ![localguru](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/localguru/32/12_2.png) [@localguru](https://forums.rocket.chat/u/localguru)\
**Post date:** [October 4, 2018, 9:49pm UTC](https://forums.rocket.chat/t/force-otr-for-self-hosted-server/2182/2 "2018-10-04T21:49:45Z")

</div>

Good question, that would interest me too.

---

<div class="post-metadata">

**Author:** ![aaron.ogle](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/aaron.ogle/32/15_2.png) [@aaron.ogle](https://forums.rocket.chat/u/aaron.ogle)\
**Post date:** [October 5, 2018, 1:02am UTC](https://forums.rocket.chat/t/force-otr-for-self-hosted-server/2182/3 "2018-10-05T01:02:36Z")

</div>

Important to note. OTR and e2e are 2 totally different systems in Rocket.Chat right now. 🙂

OTR is the older system that messages are encrypted but don’t persist at all on the server even in encrypted form. e2e is end to end encryption.

That out of the way… I don’t think we do have that option. That would be something cool to see before we pull this feature out of beta. I’ll move this over to the feature request category. I too think this would be awesome especially when mobile support lands!

---

<div class="post-metadata">

**Author:** ![protex0r](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@protex0r](https://forums.rocket.chat/u/protex0r)\
**Post date:** [October 15, 2018, 4:11pm UTC](https://forums.rocket.chat/t/force-otr-for-self-hosted-server/2182/4 "2018-10-15T16:11:58Z")

</div>

I would love to see it too. I want to implement Rocket.chat in my company, but to be compliant with the security policy all chats have to be e2e encrypted by default and the plain-text communication has to be disabled 😉

---

<div class="post-metadata">

**Author:** ![jacubillo](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/jacubillo/32/599_2.png) [@jacubillo](https://forums.rocket.chat/u/jacubillo)\
**Post date:** [October 15, 2018, 6:51pm UTC](https://forums.rocket.chat/t/force-otr-for-self-hosted-server/2182/5 "2018-10-15T18:51:04Z")

</div>

Hello Aaron,  
Thanks for the reply.  
Sorry I explained myself wrong in the initial post… What you state is exactly what I’d like to know if it’s already available for RocketChat… e2e encryption. If I’m not mistaken I could then just add a simple cronjob that might delete older-than-x messages in the DB … or even work through the API to accomplish the same objective of deleting old messages from the server.

Is 2e2 enabled by default? Are the messages secured “just” by https during transfer from client1-server-client2 or is there any other method in place?

As suggested by others above, this could be a great option to add and attract security-concious companies.

Thanks for the help so far!

---

<div class="post-metadata">

**Author:** ![protex0r](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@protex0r](https://forums.rocket.chat/u/protex0r)\
**Post date:** [January 29, 2019, 1:16pm UTC](https://forums.rocket.chat/t/force-otr-for-self-hosted-server/2182/6 "2019-01-29T13:16:44Z")

</div>

Hey!

What’s the status on this case?
