-
Notifications
You must be signed in to change notification settings - Fork 41
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
[DOC] Certs not found #37
Comments
have the same problem somewhere have something? |
same here |
same problem. IDF version 4.4.4 |
I solved my problem by enabling the following option in the menuconfig.
|
Same here. Hopefully the doc will get an update as something is obviously missing. Anyway it is not obvious what is that missing part and i just did not want to start investigating for days... |
WE apologize for the confusion, the documentation has now been updated and reflects appropriate necessary directions. Please, let us know so that we can close this issue, if you are satisfied. |
I shall be closing this ticket as the documentation has been updated. Please feel free to open this issue or open a new one in case you are not satisfied with the changes. |
Describe the issue
Certificates not found.
Certificates are in
main/certs/
as described in https://github.com/FreeRTOS/iot-reference-esp32c3/blob/main/GettingStartedGuide.md#23-provision-the-esp32-c3-with-the-private-key-device-certificate-and-ca-certificate-in-development-modeHad to move
esp_secure_cert_mgr
frommanaged_components
tocomponents
otherwiseidf.py
complains, and then I ran:python components/esp_secure_cert_mgr/tools/configure_esp_secure_cert.py -p /dev/ttyUSB0 --keep_ds_data_on_host --ca-cert main/certs/aws-root-ca.pem --device-cert main/certs/client.crt --private-key main/certs/client.key --target_chip esp32 --secure_cert_type cust_flash
The guide said the partition folder would be
esp_ds_data
, butesp_secure_cert_data
was created instead.Then I ran:
esptool.py --no-stub --port /dev/ttyUSB0 write_flash 0xD000 esp_secure_cert_data/esp_secure_cert.bin
And finally build and flashed the project.
It seems the project fails because certs are not found.
The versions that I'm using are:
and I'm using a ESP32-D0WDQ6.
I get the following log:
Reference
Here.
Screenshot
![imagen](https://private-user-images.githubusercontent.com/49130029/241768447-ac853d52-d1c0-466f-a7cc-ab30c27adb38.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1NzQ4NTMsIm5iZiI6MTcxOTU3NDU1MywicGF0aCI6Ii80OTEzMDAyOS8yNDE3Njg0NDctYWM4NTNkNTItZDFjMC00NjZmLWE3Y2MtYWIzMGMyN2FkYjM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI4VDExMzU1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlN2QzMmViZDAyYzIwOWUwZDIwY2ZjZGMzOWJlMWEwMjQxNmNiZWZjMTVhNjBkZGU0Y2FhZGViOWFlMGEzMGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nbIyvrnBIOBG-yhQpJlyAssNmq6a69UhI5jsjQkeDjg)
Browser
N/A
The text was updated successfully, but these errors were encountered: