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

device provisioning certificate and registration #1

Open
sky9971 opened this issue May 11, 2018 · 1 comment
Open

device provisioning certificate and registration #1

sky9971 opened this issue May 11, 2018 · 1 comment

Comments

@sky9971
Copy link

sky9971 commented May 11, 2018

Do you have the script to do this either at factory while flashing or at client side?
How did you achieve this at production level?
Again are you doing this in factory or are you doing this when your iot device is at client side??

@shirish47
Copy link
Owner

No I don't have the script for this one.
so what all I have got suggestions is that to make a OTA code(for local factory update) that downloads certificate from local setup(I think this needs to be done in a server which when gets request from device for certificate should generate it add to AWS IoT cloud and send the cert to device). OTA code downloads the certs in ESP32 SPIFFS partition then OTA also downloads your firmware.

I think this is the best approach just upload OTA code run the device and leave it while updates. Also, you would need some AWS expertise to generate certs and register those in AWS IoT core by some code(maybe python).

I left this to the point where put my firmware and certificate to the SPIFFS partition and load certs from there.
never do certs download Online, not a good thing as ESP32 would not have a secure connection then.

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

2 participants