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:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user