Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate esp_secure_cert.bin (MEGH-5812) #320

Closed
3 tasks done
yatendra98 opened this issue Jul 22, 2024 · 4 comments
Closed
3 tasks done

Unable to generate esp_secure_cert.bin (MEGH-5812) #320

yatendra98 opened this issue Jul 22, 2024 · 4 comments

Comments

@yatendra98
Copy link

Answers checklist.

  • I have read the Rainmaker documentation and the issue is not addressed there.
  • I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
  • I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.

General issue report

I've followed these steps:
$ export ESP_SECURE_CERT_PATH=/path/to/esp_secure_cert_mgr
$ esp-matter-mfg-tool -v 0x131B -p 0x2 -cd $RMAKER_PATH/examples/matter/mfg/cd_131B_0002.der --csv $RMAKER_PATH/examples/matter/mfg/keys.csv --mcsv $RMAKER_PATH/examples/matter/mfg/master.csv

I'm able to generate the partition.bin, but not able to generate esp_secure_cert.bin file in the out folder.

@github-actions github-actions bot changed the title Unable to generate esp_secure_cert.bin Unable to generate esp_secure_cert.bin (MEGH-5812) Jul 22, 2024
@sayondeep
Copy link
Contributor

@yatendra98 esp_secure_cert.bin is not required for test set up.

You can go ahead with just flashing the factory_partiton by
esptool.py write_flash 0x3e0000 out/131b_2/<node-id>/<node-id>-partition.bin

@yatendra98
Copy link
Author

@sayondeep I did the same and flash the code by following next steps but couldn't able to see any advertisement packet BLE/AP in Rainmaker App. I used the BLE sniffer as well to put a filter of MAC Id but couldn't see any packets.
Hence thought of whether there is any dependency of esp_secure_cert.bin
Attaching here the screenshot of logs.

Screenshot 2024-07-22 at 3 46 46 PM

@sayondeep
Copy link
Contributor

sayondeep commented Jul 23, 2024

@yatendra98
You are using matter+rainmaker example where the provisioning is taken care in the commissioning step of Matter.
You can follow the steps here to continue with the example.
You can use esp rainmaker app for commissioning and control.

If you want to try out rainmaker only examples, you can find them here. EXCEPT the examples inside matter directory.

@shahpiyushv
Copy link
Collaborator

Closing this as suitable answer has been provided. Moreover, just to add, the secure cert partition is generated and flashed as part of Matter claiming steps mentioned here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants