# Help me please - How do i enable ssl openviduserver

**URL:** <https://openvidu.discourse.group/t/help-me-please-how-do-i-enable-ssl-openviduserver/501>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [April 20, 2020, 8:08am UTC](https://openvidu.discourse.group/t/help-me-please-how-do-i-enable-ssl-openviduserver/501 "2020-04-20T08:08:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauaca](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/mauaca/32/97_2.png) [@mauaca](https://openvidu.discourse.group/u/mauaca)\
**Post date:** [April 20, 2020, 8:08am UTC](https://openvidu.discourse.group/t/help-me-please-how-do-i-enable-ssl-openviduserver/501/1 "2020-04-20T08:08:54Z")

</div>

Install Openvidu server by following these steps [https://docs.openvidu.io/en/2.12.0/deployment/deploying-ubuntu/](https://docs.openvidu.io/en/2.12.0/deployment/deploying-ubuntu/)

Then try installing the HTTPS SSL certificate by following the steps on the page [https://certbot.eff.org/lets-encrypt/ubuntuxenial-nginx](https://certbot.eff.org/lets-encrypt/ubuntuxenial-nginx).

I notice that I install the ssl certificate in apache https: // mydomain correctly, but when I try to enter https: // mydomain: 4443, it tells me site not safe.

I don’t know what additional step I need to take.

Additional data

Openvidu server: 2.11.0  
Operating System: Ubuntu 16.04.6 LTS

---

<div class="post-metadata">

**Author:** ![micael.gallego](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/micael.gallego/32/2_2.png) [@micael.gallego](https://openvidu.discourse.group/u/micael.gallego)\
**Post date:** [April 20, 2020, 8:54am UTC](https://openvidu.discourse.group/t/help-me-please-how-do-i-enable-ssl-openviduserver/501/2 "2020-04-20T08:54:04Z")

</div>

We are working in a new OpenVidu version that will make easier to deploy OpenVidu along your app with a valid certificate generated by Lets Encrypt.

We plan to release it tomorrow. But you can take a look to beta version following these instructions:

> <https://github.com/OpenVidu/openvidu/blob/master/openvidu-server/docker/openvidu-docker-compose/readme.md>

Please let us know if they works for you.

Regards

---

<div class="post-metadata">

**Author:** ![radhwane](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@radhwane](https://openvidu.discourse.group/u/radhwane)\
**Post date:** [April 21, 2020, 7:26pm UTC](https://openvidu.discourse.group/t/help-me-please-how-do-i-enable-ssl-openviduserver/501/3 "2020-04-21T19:26:29Z")

</div>

greetings  
i deploy openvidu-docker-compose to test the beta on ubuntu 18 everythinks work fine  
i set everythings on .env file before do ./openvidu start  
`https://mydomain.com` works fine , i can enter room and start video  
`https://mydomain.com/dashboard/` works fine  
but this 2 url not working  
`https://mydomain.com/api/`  
`https://mydomain.com/openvidu/`  
here is the error  
# ERROR: unknown URL `https://mydomain.com/openvidu/`

```
## OpenVidu Server does not have path `/openvidu/ ` mapped

If you are seeing this message as a result of COMPOSED recording, the problem is most likely an issue with the recording URL.
Current recording URL is **https://mydomain/openvidu/**
The recording service cannot access the recording layout through this URL.
Use OpenVidu configuration property **`OPENVIDU_RECORDING_COMPOSED_URL`** to provide a valid URL for the recording service to connect to.

```

i search for this OPENVIDU\_RECORDING\_COMPOSED\_URL on .env cannot find it , so ho to define it ?  
OPENVIDU\_RECORDING\_COMPOSED\_URL=/var/www/videosRecords

and one more thing on error show this OPENVIDU\_RECORDING\_COMPOSED\_URL  
but in github you mention this ```  
OPENVIDU\_RECORDING\_COMPOSED-URL=

thanks

---

<div class="post-metadata">

**Author:** ![micael.gallego](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/micael.gallego/32/2_2.png) [@micael.gallego](https://openvidu.discourse.group/u/micael.gallego)\
**Post date:** [April 21, 2020, 11:38pm UTC](https://openvidu.discourse.group/t/help-me-please-how-do-i-enable-ssl-openviduserver/501/4 "2020-04-21T23:38:23Z")

</div>

Please wait until 2.13 version is released (in a few hours) so you will be able to read official documentation of the version.

---

<div class="post-metadata">

**Author:** ![mauaca](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/mauaca/32/97_2.png) [@mauaca](https://openvidu.discourse.group/u/mauaca)\
**Post date:** [April 22, 2020, 6:45am UTC](https://openvidu.discourse.group/t/help-me-please-how-do-i-enable-ssl-openviduserver/501/5 "2020-04-22T06:45:14Z")

</div>

my intention is not to migrate from version, my desire is to be able to configure version 2.11.0 with ssl certificate in ubuntu, it could indicate which is the best way. In my production environment it works perfectly because it is on Amazon AWS servers.

I want to configure a testin or development environment outside of amazon and I cannot because it has been impossible to configure ssl.

What I could see in my failure is that the domain: [https://mydomain.com](https://mydomain.com) works correctly because the server is apache.

When I use [https://mydomain.com:4443](https://mydomain.com:4443) it no longer works, I think I understand that the failure originates because it is another server (nginx) or Kurento, the truth is that everything seems like a black box and specifically about this problem I don’t see specific documentation for ssl.

will have an idea of how to solve it without migrating to the latest version

---

<div class="post-metadata">

**Author:** ![micael.gallego](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/micael.gallego/32/2_2.png) [@micael.gallego](https://openvidu.discourse.group/u/micael.gallego)\
**Post date:** [April 23, 2020, 2:11pm UTC](https://openvidu.discourse.group/t/help-me-please-how-do-i-enable-ssl-openviduserver/501/6 "2020-04-23T14:11:57Z")

</div>

Ok, I now understand.

Browser is connected to openvidu-server using WebSockets. OpenVidu-server is implemented as a Java application. Then, to configure SSL in this server you can configure the certificate in openvidu-server Java application or configure an NGINX proxy in front of it.

Here you have information on how to add a certificate to openvidu-server directly: [https://docs.openvidu.io/en/2.12.0/deployment/deploying-ubuntu/#using-your-own-certificate](https://docs.openvidu.io/en/2.12.0/deployment/deploying-ubuntu/#using-your-own-certificate)

Regards
