Re:Camera and microphone require HTTPS in Firefox 68
by Mister_Snuggles on Tuesday July 09, 2019 @09:23PM
(#20398415)
You can probably just create your own root CA and install it on your mobile device for testing. I've done this for my internal stuff at home and it works well.
I use xca[0] to create/manage the root CA and the certificates, but there are other tools to do this.
Re:Camera and microphone require HTTPS in Firefox 68
by shkkmo on Tuesday July 09, 2019 @11:54PM
(#20399031)
> you obviously have to use a self signed cert because local IP
Not true at all, SSL certs have nothing to do with IP of the servers that use them, the servers just have to have the correct private key for that cert.
You can make any domain point to local IPs by using the hosts file or even editing DNS directly.
Specifically, you need HTTPS for WebRTC, but you obviously have to use a self signed cert because local IP. You can ignore the cert error and load the page, but connecting to the websocket for signaling will still fail because websocket on iOS requires a non-self-signed cert.
Non-HTTPS websocket would work, but not from a HTTPS host. So you're in a situation where you need HTTPS due to WebRTC, but you can't use HTTPS due to websockets.
In trying to push people to HTTPS by disabling features on HTTP, we're making development a _much_ worse experience. I'm not sure that's right.