I'm trying to run this demo on AWS Ubuntu, to check if the bug I reported in firefox is caused by running locally under HTTP; all's working on Chrome, so it may not be. Possibly.
I set the demo up on AWS Ubuntu, and generated a self-signed cert using:
openssl genrsa 2048 > host.key
chmod 400 host.key
openssl req -new -x509 -nodes -sha256 -days 365 -key host.key -out host.cert
And yet, Firefox is reporting that Navigator.mediaDevices is undefined, whilst Chrome is reporting that it Cannot read property 'getUserMedia' of undefined
I assume this means I need a genuine trusted 'local.crt' and 'local.key' file, rather than self-signed? I didn't realise it'd be so strict.
Can anybody instruct me on how to do that without buying one, as I only want to test?
Thanks :)