I have a Raspberry PI 3 as router for WiFi network.
It can be without internet access.
I am running backend for android/iOS app on this raspberry.
I want to have frontend connected through SSL to exclude any spying from other people connected to this wifi.
Issues:
- Android/iOS don't let me connect to ssl with self-signed certificate.
- I can solve it by creating my own CA and load it to the phones, but every person who wants to use my app would have to download CA and load it.(That's kinda frustrating...)
- It can be probably fixed by buying a certificate( or using LE, but it can be failing sometimes, because I will be deploying thousands of raspberries...hard to manage it then).
- I don't have domain for that raspberry. I can add it to my DNS server, but it would be unreachable without internet connection.
- So I can make DNS server on raspberry with bind9 to collect other entries except my domain.
Is it so extremely hard? There is no easier approach?
Something like WiFi with SSL?
You have two options: