News for hackers. Stuff that matters.
Re:Chrome 68 will mark all HTTP sites as “not secure” by notatoad on Thursday February 08, 2018 @07:43PM (#16336945)
so the solution to the warning is to make your offline IoT devices secure, but how do you actually do that? i have an IoT product that runs a web server and needs to be accessible by users when the internet connection isn't available. how do I enable HTTPS on it? (this is not a hypothetical. it's a problem i actually need to solve)

as far as i can tell, my options are:

- install a self-signed cert on the device and force my users to click through all the warnings chrome throws up about untrusted certs

- create my own CA cert and sign the cert with that, and convince the user to install my CA cert as a trusted cert (which is not possible on iOS)

- get a cert signed by a trusted authority, and get the user to add an entry to their /etc/hosts file that maps the domain the cert is valid for whatever address the device is assigned

- distrubute a native (electron?) app that interfaces with my device and trusts my cert, and disallow direct browser access.

- find some sketchy SSL issuer who is willing to issue certs for *.local domains and run an mDNS resolver on my device

- Use HTTP instead of HTTPS and the only downside is a little badge in the address bar saying "not secure"

I'd love to have HTTPS everywhere, but i honestly don't know how to make it happen.

Re:Chrome 68 will mark all HTTP sites as “not secure” by madeofpalk on Thursday February 08, 2018 @08:16PM (#16337110)
> install my CA cert as a trusted cert (which is not possible on iOS)

FWIW, unless we're talking about different things, you can install and trust custom CA certs on iOS. https://developer.apple.com/library/content/qa/qa1948/_index...

Re:Chrome 68 will mark all HTTP sites as “not secure” by namelost on Thursday February 08, 2018 @08:36PM (#16337203)
> - distrubute a native (electron?) app that interfaces with my device and trusts my cert, and disallow direct browser access.

This is the most secure choice, using something like websockets to transfer data only.

Unless your product is completely offline and never connected to the internet, I don't think an IoT device that runs a web server is ever a good idea. All it takes is one successful remote attack, and soon your users could be installing ransomware at the device's direction!

Don't serve HTML/JS from a device that you can't physically pull the plug on.

Re:Chrome 68 will mark all HTTP sites as “not secure” by quickthrower2 on Friday February 09, 2018 @12:21AM (#16338077)
> Don't serve HTML/JS from a device that you can't physically pull the plug on.

Or virtually pull the plug, in the case of cloud hosted sites.

Re:Chrome 68 will mark all HTTP sites as “not secure” by notatoad on Friday February 09, 2018 @12:54PM (#16342310)
I'm not sure how your comment is supposed to help.

I don't think a web server is ever a good idea. All it takes is one successful remote attack and soon your users could be installing ransomware! We'd better shut down the internet.

Re:Chrome 68 will mark all HTTP sites as “not secure” by berbec on Thursday February 08, 2018 @09:05PM (#16337328)
I have dnsmasq running internally and my regular Netgear router gives out the IP of that internal host as the dns resolver. Local hosts are given subdomain names for a domain I control (pi3.example.com camera.example.com seedbox.example.com etc) and resolve to an internal IP. These domains resolve, on the public internet, to the one publically-accessable host in my network. That machine runs certbot and gets the cert. It then rsyncs the certs to the internal machines every renewal.