# I want to resolve openvidu certificate errors

**URL:** <https://openvidu.discourse.group/t/i-want-to-resolve-openvidu-certificate-errors/3255>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [July 27, 2021, 8:40am UTC](https://openvidu.discourse.group/t/i-want-to-resolve-openvidu-certificate-errors/3255 "2021-07-27T08:40:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CODe](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/code/32/1593_2.png) [@CODe](https://openvidu.discourse.group/u/CODe)\
**Post date:** [July 27, 2021, 8:40am UTC](https://openvidu.discourse.group/t/i-want-to-resolve-openvidu-certificate-errors/3255/1 "2021-07-27T08:40:42Z")

</div>

My AWS EC2 Ubuntu’s Docker is running an openvidu.  
A certificate warning occurs when you connect to a Public IP.  
 ![openvidu-call](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/5/55c156bf959fa83a332752795591b3b69821ab1e.png)

 ![docker-compose_ps](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/a/ad75542ae20f6eeebf14a5959eaaf7062117736d.png)

1. I thought Nginx was registering SSL with letscrypt, but do I need to register a separate certificate?
2. I would like to communicate using openvidu server instead of the example shown in [Docs](https://docs.openvidu.io/en/2.18.0/deployment/deploying-on-premises/), where should I register the SSL certificate?

My questions may not be enough, but I’ll write them in more detail if you give me feedback.  
Thank you.

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [July 27, 2021, 8:42am UTC](https://openvidu.discourse.group/t/i-want-to-resolve-openvidu-certificate-errors/3255/2 "2021-07-27T08:42:50Z")

</div>

1. Here you have how to configure letsencrypt: [OpenVidu Docs](https://docs.openvidu.io/en/2.18.0/deployment/deploying-on-premises/#2-lets-encrypt-certificate)
2. It is better to deploy using official deployment instructions, not using the .jar directly.

> Additional note: By accessing your deployment to your public IP, no certificate will be valid. You need to register a domain name to your public IP and access it through it.

---

<div class="post-metadata">

**Author:** ![CODe](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/code/32/1593_2.png) [@CODe](https://openvidu.discourse.group/u/CODe)\
**Post date:** [July 27, 2021, 4:53pm UTC](https://openvidu.discourse.group/t/i-want-to-resolve-openvidu-certificate-errors/3255/3 "2021-07-27T16:53:19Z")

</div>

Thank you.  
I solved the ssl problem by purchasing the domain. However, I found a problem where the other person’s screen was not visible. Is it a problem with the kms?

- openvidu version : 2.19.0
- installation mode : on premises

---

<div class="post-metadata">

**Author:** ![CODe](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/code/32/1593_2.png) [@CODe](https://openvidu.discourse.group/u/CODe)\
**Post date:** [July 27, 2021, 5:50pm UTC](https://openvidu.discourse.group/t/i-want-to-resolve-openvidu-certificate-errors/3255/4 "2021-07-27T17:50:39Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/b/b0d5983cfb1de7dad42a44db7b0fb62f2bcae7a6.png)

Even when tested on the demo page, the error was the same and there was a log left on the console as shown in the picture.

---

<div class="post-metadata">

**Author:** ![CODe](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/code/32/1593_2.png) [@CODe](https://openvidu.discourse.group/u/CODe)\
**Post date:** [July 27, 2021, 7:43pm UTC](https://openvidu.discourse.group/t/i-want-to-resolve-openvidu-certificate-errors/3255/5 "2021-07-27T19:43:06Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/b/bae1634902fc5e9f83af344ce6476f72f8381c28.png)

I tested it on the dashboard and found this error.

**now resolve**

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [July 28, 2021, 12:16pm UTC](https://openvidu.discourse.group/t/i-want-to-resolve-openvidu-certificate-errors/3255/6 "2021-07-28T12:16:38Z")

</div>

> [@CODe](#):
>
> now resolve

What do you mean with “now resolve” ? WTF

Anyways did you opened all ports specified in the documentation?: [OpenVidu Docs](https://docs.openvidu.io/en/2.19.0/deployment/ce/on-premises/#1-prerequisites)

EDIT: Also in the capture you’ve sent of your test in the “demo page”, the error is pretty clear: `DEVICE_ALREADY_IN_USE`. Check that you’re camera is not being accesed by other browsers.
