Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

കൂടുതലറിയുക
Open

How to disable CSRF, LNA and secure context requirement so I can use webrtc on my LAN over HTTP

Salon

Hi,

So I have an website on my LAN, let's say example.lan This website has webrtc video chat function But when I'm trying to use it, I'm getting errors that webrtc doesn't work without a valid https certificates and also https certificates cannot be valid on the LAN and also, it won't work on HTTP  ?

I'm not sure exactly what the problem is.

It just says "Browsers block microphone and camera access on an ordinary local-network HTTP address. Open the site over HTTPS with a valid certificate."

In console I'm getting

"HTTPS-Only Mode: Not upgrading insecure request “http://example.lan/” because it is exempt."

So I disabled "HTTPS-Only Mode" but still it says

"This browser does not support WebRTC or media devices." and "HTTPS/localhost required for live browser media" And there's no longer any messages on the console.

So I'm not sure what security I need to disable next

I tried hairpin nat / loopback nat, I'm getting RFC 1819 errors, and I don't want split dns exception either, so I'm not sure too sure what to try next.

Hi, So I have an website on my LAN, let's say example.lan This website has webrtc video chat function But when I'm trying to use it, I'm getting errors that webrtc doesn't work without a valid https certificates and also https certificates cannot be valid on the LAN and also, it won't work on HTTP ? I'm not sure exactly what the problem is. It just says "Browsers block microphone and camera access on an ordinary local-network HTTP address. Open the site over HTTPS with a valid certificate." In console I'm getting "HTTPS-Only Mode: Not upgrading insecure request “http://example.lan/” because it is exempt." So I disabled "HTTPS-Only Mode" but still it says "This browser does not support WebRTC or media devices." and "HTTPS/localhost required for live browser media" And there's no longer any messages on the console. So I'm not sure what security I need to disable next I tried hairpin nat / loopback nat, I'm getting RFC 1819 errors, and I don't want split dns exception either, so I'm not sure too sure what to try next.

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.