Iomatex_OS/docs/diagnostics/registration-tls-20260928
Andrei Smaliak 5c2d31cc22 Release camera audio and Edge stage updates 2026-10-07 08:35:42 +02:00
..
README.md Release camera audio and Edge stage updates 2026-10-07 08:35:42 +02:00
dev-eva.conf Release camera audio and Edge stage updates 2026-10-07 08:35:42 +02:00
uae.conf Release camera audio and Edge stage updates 2026-10-07 08:35:42 +02:00

README.md

Registration transport repair — 2026-09-28

Local Edge: http://192.168.0.109 (device access not authenticated during this investigation).

The client ServerUrl.js selects HTTPS for bare DNS server addresses. Console maps DEV to rest.dev.it-screen.com. The deployed DEV, EVA and UAE Nginx configuration only had HTTP REST virtual hosts. HTTPS therefore selected an unrelated default certificate and failed hostname verification. Console translates client status 0 into the generic "Registration server did not respond" message.

Installed dedicated HTTPS REST virtual hosts and issued separate Let's Encrypt certificates for rest.dev.it-screen.com, rest.eva.iomatex.com and rest.uae.iomatex.com, without changing existing HTTP blocks or application routes. The adjacent files reproduce installed /etc/nginx/conf.d/rest-registration-tls.conf on DEV (DEV+EVA) and UAE respectively. The certificate lineages have matching names, expire 2026-12-27, and use the existing enabled certbot.timer for renewal. Original its.conf/eva.conf copies: /root/registration-tls-backup-20260928 on DEV; its.conf copy at the same path on UAE. Original files compare unchanged.

Validation: nginx -t passed before reload on both hosts; authenticated TLS requests (no insecure bypass) reach /v2/device and return expected JSON HTTP 401 without credentials. DEV briefly returned 502 during an independently observed application container restart; this was not a TLS failure.

Limitations: full Edge server-switch registration has not been exercised because known Edge credentials are rejected. No device cloud binding was reset or changed. REST hosts rest.public.it-screen.by and rest.test.it-screen.by also fail TLS hostname verification; these are separate hosts and were not modified. No client version bump, Git commit or push was performed for this repair.