From what I am deducting from your messages (not because the information you provide of your machine is really clear), you have a machine with a nginx running independently. OpenVidu runs also its own nginx, so the certificates configured in the nginx container are not the same as the configured ones in your machine.
You have two possible solution here:
Solution 1 (RECOMMENDED). Deploy OpenVidu in a different machine with a clean environment.
- Deploy OpenVidu in a new instance with a new domain name and public IP.
- Point your app to the newly deployed OpenVidu.
Solution 2 (REALLY NOT RECOMMENDED). Import the certificates of the local nginx installation you have into the nginx service of OpenVidu.
I really don’t recommend this. I’m saying it is possible, but this is your choice
I did not test this. Please make sure before doing this process of backup the content of
/etc/letsencrypt/ because this may modify the content of this folder.
I see that you are using letsencrypt so these changes would be necessary:
- First you will need to change these environment variables:
- Edit the file
docker-compose.yml and change this volume from nginx:
- With this:
I would go with the option 1 and create a new machine for OpenVidu and just point your app to the new machine.