# Setting your own certificate to https for rocket chat

**URL:** <https://forums.rocket.chat/t/setting-your-own-certificate-to-https-for-rocket-chat/13662>\
**Category:** Community Support\
**Created:** [March 24, 2022, 7:48am UTC](https://forums.rocket.chat/t/setting-your-own-certificate-to-https-for-rocket-chat/13662 "2022-03-24T07:48:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikita2002](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@nikita2002](https://forums.rocket.chat/u/nikita2002)\
**Post date:** [March 24, 2022, 7:48am UTC](https://forums.rocket.chat/t/setting-your-own-certificate-to-https-for-rocket-chat/13662/1 "2022-03-24T07:48:44Z")

</div>

### Description

### Server Setup Information

- Version of Rocket.Chat Server: 4.5.1
- Operating System: Ubuntu 20
- Deployment Method: snap
- Number of Running Instances: 1 server, 6 client
- DB Replicaset Oplog:
- NodeJS Version: 14.18.3
- MongoDB Version: 4.2.17
- Proxy: nginx
- Firewalls involved: ufw disable

### Any additional Information

Hello!  
Got a question:  
Previously, I created a topic for installing a letsencrypt certificate (for a mobile application), which I could not do because there were problems with the network at the university, where the server was installed and configured. (ports 443 and 80 are busy, which are needed to receive from letsencrypt).  
In general, the university has its own certificate for https (it really works, for example, the university website works on it using the https protocol and many other services)

There is a problem in installing this certificate on the rocket chat server, tried many recommendations / instructions and nothing helped. refuses to work over the https protocol  
Certificate in .crt and .key format  
And a separate one, which is for installation on computers in the .crt format

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [March 25, 2022, 12:02pm UTC](https://forums.rocket.chat/t/setting-your-own-certificate-to-https-for-rocket-chat/13662/2 "2022-03-25T12:02:32Z")

</div>

HI! What have you tried so far?

Here we have a working example on how to config nginx with certificates other then let’s encrypt.

> **[Configuring SSL Reverse Proxy](https://docs.rocket.chat/quick-start/environment-configuration/configuring-ssl-reverse-proxy#running-behind-a-nginx-ssl-reverse-proxy)**
