Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Livekite in the production environment without using a domain #1604

Closed
mojtabanpe opened this issue Apr 12, 2023 · 7 comments
Closed

Comments

@mojtabanpe
Copy link

Our project is implemented in the internal environment of the company and we cannot assign a domain to it. How can we use Livekit using IP in the production environment?

@jibon57
Copy link

jibon57 commented Apr 12, 2023

SSL certificate is must other than localhost if you are using browser. I don't think this restriction from livekit but browser. You can easily assign domain with SSL certificate locally.

@mojtabanpe
Copy link
Author

I use it like this:
room.connect(wss://my-ip:7880,...);
But the browser cannot establish the web socket connection.

@jibon57
Copy link

jibon57 commented Apr 12, 2023

wss require ssl enabled. For your case should be ws.

@mojtabanpe
Copy link
Author

in our case we have to use ssl certificate with ip and the browser cannot work with http.

@davidzhao
Copy link
Member

As long as you have the certs figured out, livekit itself does not require any domains. SSL certs are a browser requirement.

Are you seeing anywhere that requires you to provide a domain?

@mojtabanpe
Copy link
Author

in livekit document: "The SSL certificate must be signed by a trusted certificate authority; self-signed certs do not work here".
Our problem is that all the nodes do not have Internet, but the server IP must be up with https.

@davidzhao
Copy link
Member

That's stating a browser requirement. Browsers do not generally trust self-signed certs.

@davidzhao davidzhao closed this as not planned Won't fix, can't repro, duplicate, stale Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants