Skip to main content

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:


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

Was this article helpful?

0 out of 0 found this helpful