"Unsupported certificate format“ when adding device from Amazon Echo
Describe the issue you are experiencing
I have a Siegenia Smart Window handle which is connected to my Amazon Echo (4th Gen) via Thread. I can check the status and control the handle from that device. When I want to add it to Home Assistant with a Matter sharing code, it fails and I can see the error message "Unsupported certificate format" in the logs
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
Matter Server
What is the version of the add-on?
6.5.1
Steps to reproduce the issue
In Alexa App
- Pair Smart Handle with Amazon Echo. Three devices are added to the Alexa App:
- one for the device itself
- one for the lock status
- one for operating the lock
- select any of the 3 devices
- click on "Other assistants and apps" and „Add another“. A pop-up is displayed. Click "OK"
- Copy setup code to clipboard
In Home Assistant
5. "Add integration" -> "Add Matter device"
6. Select "Yes, it‘s already in use"
7. Select "Other controller"
8. Paste setup code from clipboard and confirm
9. "Adding the device, this may take a minute or two." is displayed for a few seconds, then "Failed to setup device" message appears.
System Health information
System Information
| version | core-2024.10.1 |
|---|---|
| installation_type | Home Assistant OS |
| dev | false |
| hassio | true |
| docker | true |
| user | root |
| virtualenv | false |
| python_version | 3.12.4 |
| os_name | Linux |
| os_version | 6.6.46-haos |
| arch | x86_64 |
| timezone | Europe/Berlin |
| config_dir | /config |
Home Assistant Community Store
| GitHub API | ok |
|---|---|
| GitHub Content | ok |
| GitHub Web | ok |
| HACS Data | ok |
| GitHub API Calls Remaining | 5000 |
| Installed Version | 2.0.1 |
| Stage | running |
| Available Repositories | 1500 |
| Downloaded Repositories | 53 |
Home Assistant Cloud
| logged_in | false |
|---|---|
| can_reach_cert_server | ok |
| can_reach_cloud_auth | ok |
| can_reach_cloud | ok |
Home Assistant Supervisor
| host_os | Home Assistant OS 13.1 |
|---|---|
| update_channel | stable |
| supervisor_version | supervisor-2024.09.1 |
| agent_version | 1.6.0 |
| docker_version | 26.1.4 |
| disk_total | 30.8 GB |
| disk_used | 16.6 GB |
| healthy | true |
| supported | true |
| host_connectivity | true |
| supervisor_connectivity | true |
| ntp_synchronized | true |
| virtualization | kvm |
| board | ova |
| supervisor_api | ok |
| version_api | ok |
| installed_addons | Mosquitto broker (6.4.1), File editor (5.8.0), Advanced SSH & Web Terminal (19.0.0), ESPHome (2024.9.2), Let's Encrypt (5.2.1), Whisper (2.1.2), Piper (1.5.2), openWakeWord (1.10.0), AppDaemon (0.16.7), InfluxDB (5.0.1), Grafana (10.1.1), Samba share (12.3.2), go2rtc (1.9.4), Zigbee2MQTT (1.40.2-1), Silicon Labs Flasher (0.3.0), Music Assistant Server (2.2.7), Cloudflared (5.1.21), Matter Server (6.5.1) |
Dashboards
| dashboards | 4 |
|---|---|
| resources | 32 |
| views | 17 |
| mode | storage |
MercedesME 2020
| api_endpoint_reachable | ok |
|---|---|
| websocket_connection_state | connected |
| cars_connected | 2 |
| version | v0.18.1 |
Recorder
| oldest_recorder_run | September 28, 2024 at 23:01 |
|---|---|
| current_recorder_run | October 6, 2024 at 07:14 |
| estimated_db_size | 835.64 MiB |
| database_engine | sqlite |
| database_version | 3.45.3 |
Anything in the Supervisor logs that might be useful for us?
No response
Anything in the add-on logs that might be useful for us?
Add-on: Matter Server
Matter WebSocket Server for Home Assistant Matter support.
-----------------------------------------------------------
Add-on version: 6.5.1
You are running the latest version of this add-on.
System: Home Assistant OS 13.1 (amd64 / qemux86-64)
Home Assistant Core: 2024.10.1
Home Assistant Supervisor: 2024.09.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service banner successfully started
s6-rc: info: service matter-server: starting
s6-rc: info: service matter-server successfully started
s6-rc: info: service legacy-services: starting
[09:18:37] INFO: Starting Matter Server...
s6-rc: info: service legacy-services successfully started
[09:18:38] INFO: Using 'enp0s18' as primary network interface.
[09:18:38] INFO: Successfully send discovery information to Home Assistant.
2024-10-06 09:18:40.038 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Logging...
2024-10-06 09:18:40.038 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Controller Stack...
[1728199120.063012][126:126] CHIP:CTL: Setting attestation nonce to random value
[1728199120.063257][126:126] CHIP:CTL: Setting CSR nonce to random value
[1728199120.064192][126:126] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
[1728199120.064328][126:126] CHIP:DL: writing settings to file (/tmp/chip_kvs-HCwm1H)
[1728199120.064388][126:126] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
[1728199120.064546][126:126] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /data/chip_factory.ini
[1728199120.064753][126:126] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /data/chip_config.ini
[1728199120.064829][126:126] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /data/chip_counters.ini
[1728199120.064974][126:126] CHIP:DL: writing settings to file (/data/chip_counters.ini-P32ZqH)
[1728199120.065146][126:126] CHIP:DL: renamed tmp file to file (/data/chip_counters.ini)
[1728199120.065171][126:126] CHIP:DL: NVS set: chip-counters/reboot-count = 2 (0x2)
[1728199120.065583][126:126] CHIP:DL: Got Ethernet interface: enp0s18
[1728199120.065762][126:126] CHIP:DL: Found the primary Ethernet interface:enp0s18
[1728199120.066366][126:126] CHIP:DL: Failed to get WiFi interface
[1728199120.066377][126:126] CHIP:DL: Failed to reset WiFi statistic counts
2024-10-06 09:18:40.066 (MainThread) INFO [chip.storage] Initializing persistent storage from file: /data/chip.json
2024-10-06 09:18:40.066 (MainThread) INFO [chip.storage] Loading configuration from /data/chip.json...
2024-10-06 09:18:40.125 (MainThread) INFO [chip.CertificateAuthority] Loading certificate authorities from storage...
2024-10-06 09:18:40.125 (MainThread) INFO [chip.CertificateAuthority] New CertificateAuthority at index 1
2024-10-06 09:18:40.126 (MainThread) INFO [chip.CertificateAuthority] Loading fabric admins from storage...
2024-10-06 09:18:40.126 (MainThread) INFO [chip.FabricAdmin] New FabricAdmin: FabricId: 0x0000000000000002, VendorId = 0x134B
2024-10-06 09:18:40.126 (MainThread) INFO [matter_server.server.stack] CHIP Controller Stack initialized.
2024-10-06 09:18:40.127 (MainThread) INFO [matter_server.server.server] Starting the Matter Server...
2024-10-06 09:18:40.129 (MainThread) INFO [matter_server.server.helpers.paa_certificates] Skip fetching certificates (already fetched within the last 24h).
2024-10-06 09:18:40.129 (MainThread) INFO [chip.FabricAdmin] Allocating new controller with CaIndex: 1, FabricId: 0x0000000000000002, NodeId: 0x000000000001B669, CatTags: []
2024-10-06 09:18:40.195 (MainThread) INFO [matter_server.server.vendor_info] Loading vendor info from storage.
2024-10-06 09:18:40.200 (MainThread) INFO [matter_server.server.vendor_info] Loaded 248 vendors from storage.
2024-10-06 09:18:40.200 (MainThread) INFO [matter_server.server.vendor_info] Fetching the latest vendor info from DCL.
2024-10-06 09:18:40.443 (MainThread) INFO [matter_server.server.vendor_info] Fetched 247 vendors from DCL.
2024-10-06 09:18:40.443 (MainThread) INFO [matter_server.server.vendor_info] Saving vendor info to storage.
2024-10-06 09:18:40.448 (MainThread) INFO [matter_server.server.device_controller] Loaded 0 nodes from stored configuration
2024-10-06 09:18:40.454 (MainThread) INFO [matter_server.server.server] Matter Server successfully initialized.
2024-10-06 09:19:43.731 (MainThread) INFO [matter_server.server.device_controller] Starting Matter commissioning with code using Node ID 4.
2024-10-06 09:19:46.287 (Dummy-2) INFO [chip.ChipDeviceCtrl] Established secure session with Device
2024-10-06 09:19:51.064 (Dummy-2) CHIP_ERROR [chip.native.CTL] Error on commissioning step 'SendNOC': 'src/controller/CHIPDeviceController.cpp:1494: CHIP Error 0x00000050: Unsupported certificate format'
2024-10-06 09:19:51.301 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to send Solitary ack for MessageCounter:73851618 on exchange 53955i with Node: <0000000000000000, 0>:src/messaging/ExchangeContext.cpp:99: CHIP Error 0x00000002: Connection aborted
2024-10-06 09:19:51.301 (Dummy-2) WARNING [chip.ChipDeviceCtrl] Failed to commission: src/controller/CHIPDeviceController.cpp:1494: CHIP Error 0x00000050: Unsupported certificate format
2024-10-06 09:19:51.301 (MainThread) ERROR [matter_server.server.client_handler] [140574846284560] Error while handling: commission_with_code: Commission with code failed for node 4.
Additional information
No response