Run the wonder-tier gateways (vd03, vq03, vq04) as Production over LDAPS (follow-up to #180) #231

Open
opened 2026-11-13 02:43:29 -05:00 by dohertj2 · 1 comment
Owner

Follow-up from #180, which closed after windev moved to Production over LDAPS on 2026-11-13.

The wonder-tier gateways still run Staging:

  • wonder-app-vd03 (DEV)
  • wonder-app-vq03 and wonder-app-vq04 (QA)

Per the #180 progress note of 2026-11-10, these boxes do not use the shared GLAuth on 10.100.0.35. Each one binds its own loopback ScadaBridge-LDAP GLAuth on :3893, which is plain-only. vd03 also runs Dashboard:DisableLogin=true.

Moving a box to Production needs three things:

  1. LDAPS on that box's GLAuth. Add an [ldaps] listener next to :3893 with its own self-signed cert. It must not break the box's ScadaBridge, which uses the same GLAuth.
  2. The gateway pointed at LDAPS. Set MxGateway__Ldap__Transport=Ldaps, the LDAPS Port, AllowInsecure=false, and MxGateway__Ldap__ServerCertificateThumbprintSha256 to the box cert's pin. Shipped in 2b13564e; the wonder builds already include it.
  3. Dashboard login turned back on. Remove DisableLogin. This reverses the earlier "dashboard needs no login" decision, so it needs the owner's decision. Wonder group mapping (UG_WW_* vs Gw*) also needs checking.

windev shows the recipe end to end: docs/GatewayConfiguration.md, Environment section, and glauth.md. Wonder access is limited to deploys (winrm deploy-only), so this is a deploy the owner must schedule.

Follow-up from #180, which closed after windev moved to `Production` over LDAPS on 2026-11-13. The wonder-tier gateways still run `Staging`: - `wonder-app-vd03` (DEV) - `wonder-app-vq03` and `wonder-app-vq04` (QA) Per the #180 progress note of 2026-11-10, these boxes do **not** use the shared GLAuth on `10.100.0.35`. Each one binds its own loopback `ScadaBridge-LDAP` GLAuth on `:3893`, which is plain-only. vd03 also runs `Dashboard:DisableLogin=true`. Moving a box to `Production` needs three things: 1. **LDAPS on that box's GLAuth.** Add an `[ldaps]` listener next to `:3893` with its own self-signed cert. It must not break the box's ScadaBridge, which uses the same GLAuth. 2. **The gateway pointed at LDAPS.** Set `MxGateway__Ldap__Transport=Ldaps`, the LDAPS `Port`, `AllowInsecure=false`, and `MxGateway__Ldap__ServerCertificateThumbprintSha256` to the box cert's pin. Shipped in `2b13564e`; the wonder builds already include it. 3. **Dashboard login turned back on.** Remove `DisableLogin`. This reverses the earlier "dashboard needs no login" decision, so it **needs the owner's decision**. Wonder group mapping (`UG_WW_*` vs `Gw*`) also needs checking. windev shows the recipe end to end: `docs/GatewayConfiguration.md`, *Environment* section, and `glauth.md`. Wonder access is limited to deploys (`winrm` deploy-only), so this is a deploy the owner must schedule.
dohertj2 added the area:authblockedtype:followuppriority:p3 labels 2026-11-13 02:43:29 -05:00
Author
Owner

The NAM cutover plan now covers this gateway (2026-11-15): docs/plans/2026-11-15-nam-ldap-cutover.md, §4.2 (mapping) and §7.3 (runbook).

What it records for mxgw:

  • DEV vd03 has dashboard login OFF (MxGateway:Dashboard:DisableLogin=true, LDAP pointed at 127.0.0.1:3893). Turning it on is this issue item 3, owner decision D2 in the plan.
  • Validator: the deployed build refuses DisableLogin=true in Production, so vd03 is not running as Production. Phase 0 records the environment name, which decides the overlay file.
  • QA: login is on against the box-local GLAuth with dc=zb,dc=local, which may not match that GLAuth (dc=scadabridge), so QA login may be broken today. Phase 0 checks.
  • Cutover steps: remove any leftover MxGateway:Ldap:ServerCertificateThumbprintSha256 GLAuth pin, delete the base GwAdmin/GwReader mappings, and map UG_WW_APP_ADMIN_<T> to Administrator and APP_IDE_<T> / APP_IDE_RO_<T> to Viewer.
  • LDAPS 636 to the NAM DCs also covers the Production rule against Transport=None, so it unblocks running these gateways as Production.

Umbrella: scadaproj#6. Service account: scadaproj#58.

**The NAM cutover plan now covers this gateway** (2026-11-15): [`docs/plans/2026-11-15-nam-ldap-cutover.md`](https://gitea.dohertylan.com/dohertj2/scadaproj/src/branch/main/docs/plans/2026-11-15-nam-ldap-cutover.md), §4.2 (mapping) and §7.3 (runbook). What it records for mxgw: - **DEV vd03 has dashboard login OFF** (`MxGateway:Dashboard:DisableLogin=true`, LDAP pointed at `127.0.0.1:3893`). Turning it on is this issue item 3, owner decision D2 in the plan. - **Validator:** the deployed build refuses `DisableLogin=true` in Production, so vd03 is not running as Production. Phase 0 records the environment name, which decides the overlay file. - **QA:** login is on against the box-local GLAuth with `dc=zb,dc=local`, which may not match that GLAuth (`dc=scadabridge`), so QA login may be broken today. Phase 0 checks. - **Cutover steps:** remove any leftover `MxGateway:Ldap:ServerCertificateThumbprintSha256` GLAuth pin, delete the base `GwAdmin`/`GwReader` mappings, and map `UG_WW_APP_ADMIN_<T>` to Administrator and `APP_IDE_<T>` / `APP_IDE_RO_<T>` to Viewer. - **LDAPS 636** to the NAM DCs also covers the Production rule against `Transport=None`, so it unblocks running these gateways as Production. Umbrella: scadaproj#6. Service account: scadaproj#58.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/mxaccessgw#231