Score:0

SSL for IoT local network

gb flag
OMS

How to implement the valid SSL for a local network without internet access?

I am developing an IoT device that exposes its own access point and shows a web page for configurations. The webpage is accessible only if you know the password of the access point.

On the device, I am running an nginx and dnsmasq to be able to expose the configuration web page by simply entering a domain name and since the connected to the access point device is in the local network dnsmasq handles the DNS requests.

I also bought the primary domain name <mydomain.com> that will be shadowed by dnsmaq once the client is connected to the access point.

Since I want to add some encryption and modern browsers do not like http:// prefix on your domain names.

What is the strategy to allow clients to access the local web page through SSL/TLS.

  • I thought about the strategy where each device will have a unique subdomain <3hyl.mydomain.com> and will generate its own SSL certificates with letsencrypt DNS01 challenge from the primary domain. But the problem here is that my device is not always connected to the internet to perform the certbot challenge.
  • A also tried to use mkcert but the issue there is that installation of root certificate is needed on the client's device. Especially this is an issue to install the certificates on modern Android and/or IOS.
vidarlo avatar
ar flag
My conclusion in such cases tends to be that there's *no* good way. Furthermore, do you really need TLS in such a limited network?
djdomi avatar
za flag
Back to the root: if you use wpa2 or better 3,why would you encrypt traffic that will already encrypted on an isolated, internet capped network? Wpa encrypt the traffic already?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.