Support & information center

How to test local signaling servers with self signed certificate?

testRTC runs in the cloud by default. The probes we use that simulate live users come from the public internet. As such, if your WebRTC implementation is installed on a local network, on a machine or a lab, and you need it tested, then the way to go is to do the following:

Use ngrok (or similar)

You can configure a public server to act like a proxy that tunnels all signaling towards your local server.

One such popular service is ngrok.

Ignore certificate errors

Since you are using a local server, the certificate used is going to be self signed. Chrome doesn’t like these types of certificates, so you’ll need to tell Chrome to just ignore it.

For that purpose, add to the run option of the test the following line:

Code language: CSS (css)

You can find a few more useful chrome debug settings here.

Was this article helpful?

Related Articles