Skip to content

Newer Samsung firmware rejects the AC14K_M anchor with unknown_ca: the OwnerPSK generation #16

Description

@paul-toben

Status, 2026-09-22. The title this issue opened under said two things, and one of them was wrong. Every appliance measured since, including the older ones this library was built on, binds 5683 and 5684 as well as its ephemeral secure port, so the ports never separated the generations; 0.1.18 reads the secure port from /oic/res on 5683 for all of them (#98). What does separate them is the second half: this generation answers an AC14K_M client certificate with unknown_ca (a bare SHA-256 leaf too; the self-signed default from #95 has not been offered to one yet), and the credential it accepts is a per-appliance OwnerPSK. The connection findings are in docs/ocf-pki-laundry.md; the credential path is being built in mbillow/localthings#435; certificate pass/fail reports by model go to #99; the F09 laundry build has its own thread at #110. This issue stays open as the record for the generation until the library carries that credential.

Device model

Samsung Bespoke AI Combo Washer/Dryer — WD53DBA900HZ (device cert issued 2025-02-23)

Summary

This newer-generation unit isn't reachable by the library's current approach, for two reasons: it uses different ports and a different trust anchor.

1. It exposes OCF on the standard CoAP ports, not the 49152–49160 range

If I run the documented compatibility check of nmap on ports 49152–49160, this device is completely silent across that whole range. Its OCF stack is on the standard ports instead:

  • udp/5683 (plain CoAP) — responds, but every resource is locked: GET /.well-known/core → 4.01, GET /device/0 → 4.03
  • udp/5684 (coaps / CoAP-over-DTLS) — live DTLS server, returns a proper ServerHello

2. The DTLS endpoint rejects the AC14K_M cert — different PKI

Handshake to 5684 with an AC14K_M-signed leaf (minted by setup_cert.py) fails with an unknown ca alert. It's on Samsung's OCF Root PKI, not the RemoteAccessCA/AC14K_M family:

Device leaf: CN=OCF Device: Appliance SE (04700f20-…), OU=OCF HA Device, O=Samsung Electronics
  └ issuer: Samsung Electronics OCF HA Device SubCA v1
     └ issuer: Samsung Electronics OCF Root CA

So the AC14K_M that works on older appliances appears to be closed on this generation — even reaching the right port (5684) still gets rejected at client-cert validation.

I'm not sure if there's any path forward here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions