大网数据广告活动
服务器运维问答

Trusted SSL in internal network without internet access

· 52CE 我爱测

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 peo…

问题原文

原帖链接 · Broskev · CC BY-SA 3.0

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:

  1. Android/iOS don't let me connect to ssl with self-signed certificate.
  2. 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...)
  3. 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).
  4. I don't have domain for that raspberry. I can add it to my DNS server, but it would be unreachable without internet connection.
  5. 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?

已采纳解答

原帖链接 · allo · CC BY-SA 3.0

You have two options:

  • roll your own CA
  • get a domain and get certificates (i.e. from letsencrypt) for subdomains, which have A on the internet pointing to an online server and A records pointing to lan devices on your LAN dns. Then copy the certificates from your internet server. You may be able to use global A-records with LAN ips, when you use the letsencrypt dns-01 method, but i did not test this.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-01-02)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。