feat(tls): issue server certificate from internal root CA

Generate a 10-year root CA in entrypoint.sh and sign the server leaf with it. Only the root CA is distributed to clients (including GPO); the leaf is served by the app and is reissued automatically when CERT_HOSTNAMES changes. Update the Windows installer, ZIP package, settings UI and docs for the two-tier scheme.
This commit is contained in:
dev
2026-10-22 18:09:30 +03:00
parent b5eeb5fbdf
commit ba32234217
9 changed files with 272 additions and 122 deletions
+2 -2
View File
@@ -142,12 +142,12 @@ services:
# - NET_ADMIN
# - SYS_MODULE
# environment:
# SSL_CERT_FILE: /etc/tailscale/app-certs/cert.pem
# SSL_CERT_FILE: /etc/tailscale/app-certs/root-ca.pem
# volumes:
# - /var/lib/tailscale:/var/lib/tailscale
# - /dev/net/tun:/dev/net/tun
# - /lib/modules:/lib/modules:ro
# - ./certs:/etc/tailscale/app-certs:ro
# - ./certs/root-ca.pem:/etc/tailscale/app-certs/root-ca.pem:ro
# - ./start-tailscale.sh:/start-tailscale.sh:ro
# command: ["/bin/sh", "/start-tailscale.sh"]
# depends_on: