HTTPS mode for the Docker image (installable app on the home network) #98
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom#98
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User, after installing the PWA on Android from the LAN container: "After having Installed the PWA I still se an address bar upon opening it." Cause: the page is plain http (Chrome shows a URL bar for insecure installed apps, and can't build a WebAPK for a LAN address).
User: "yes, build the HTTPS mode after #96 and #97".
Plan:
tls internalon a second port, plus/relayproxied to kom-relay so the page and the relay share one https origin.wss://<host>[:port]/relayinstead ofws://<host>:4895(also needed for #71).If this works on the user's phone, #71 leaves the 0.2 milestone (user, 2026-10-18), and #51's real-phone check can be done against this HTTPS mode instead.
Merged in #111; the image (git-d4d6827) is published and the user's container on 192.168.0.11 runs it with NEOKOM_HTTPS=192.168.0.11. Verified: tools/web-image-smoke.sh passes on the published image (http and https: CA download, https checked against that CA, browser login over wss, secure context, active service worker). On the LAN address: https://192.168.0.11:8443/ verifies against the downloaded CA (Caddy Local Authority - 2026 ECC Root, SHA-256 3D:DA:E0:ED:…:3D:54, valid to 2036), the login page's server field says wss://192.168.0.11:8443/relay, the service worker is active, and a WebSocket through /relay gets the server's greeting. Next: the user's phone (#51); if that works, #71 leaves the 0.2 milestone (D-038).