News for hackers. Stuff that matters.
Re:Camera and microphone require HTTPS in Firefox 68 by k_bx on Wednesday July 10, 2019 @04:37AM (#20400187)
Is generating localhost certs and then accepting them in your browser once is that hard?

openssl genrsa -out key.pem 2048

openssl req -new -key key.pem -out certificate.csr

openssl x509 -req -in certificate.csr -signkey key.pem -out certificate.pem

Re:Camera and microphone require HTTPS in Firefox 68 by baq on Wednesday July 10, 2019 @04:45AM (#20400241)
if all development servers for all frameworks just did that on first run of a project it'd be so much easier.
Re:Camera and microphone require HTTPS in Firefox 68 by k_bx on Wednesday July 10, 2019 @06:58AM (#20400784)
I just stopped using languages that require a "framework" or "development server" with monster json/yaml configurations to run a web server. In Haskell, a change from http to https is switching from warp.run to warp-tls.runTLS function (with certificate paths set).