-
Notifications
You must be signed in to change notification settings - Fork 46
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
Certificate to use AWS via MQTT #17
Comments
Hello! A trust anchor is BearSSL's way of storing the root CA ( Sorry for the confusion, I need to revisit that documentation at some point. |
No problem, thanks for the clarification. Instead, the other certificates ( UPDATEIt works!
My test code is the following:
|
Excellent! I'll go ahead and close this issue so we can continue the discussion in #18. |
I'm using on ESP8266 a sketch like this one: https://github.com/Ameba8195/Arduino/blob/master/hardware_v2/libraries/MQTTClient/examples/amazon_awsiot_basic/amazon_awsiot_basic.ino, where the certificates are simply stored in flash as they are downloaded from the server:
Now I need to port the code to an STM32 board (Nucleo-144 429ZI).
Because the STM32Ethernet library still does not support secure connections, they suggested me to use this library instead.
I read the documentation here: https://github.com/OPEnSLab-OSU/SSLClient/blob/master/TrustAnchors.md but my still limited knowledge about certificates doesn't allow me to fully understand how should I fill in the Trust Anchors from the above certificates.
The text was updated successfully, but these errors were encountered: