Open TECA-IOT opened 2 years ago
I'm sorry, I don't have any experience yet with uploading AWS certificates.
Hi @TECA-IOT
Did you find how to load the certificate and connect the module with AWS IoT Core !!
In need of this too!
I am also trying to connect sim7000g with aws but I am not able to convert certificates .Is there any solution?
Any updates on this ?
Following up
did anyone get how to connect with tinygsm library to aws iot core
Hello,
We could connect to AWS IoT Core by wrapping TinyGsm with some SSLClient Library.
In my project, I use https://github.com/alkonosst/SSLClientESP32 library.
#include <TinyGsm.h>
#include <SSLClientESP32.h>
TinyGsm modem(SerialAT);
TinyGsmClient base_client(modem, 0);
// wrap TinyGsmClient with SSLClient
SSLClientESP32 ssl_client(&base_client);
PubSubClient mqtt(ssl_client);
void setup() {
...
// set certificates
sslclient.setCACert(rootca);
sslclient.setCertificate(certificate);
sslclient.setPrivateKey(privatekey);
// connect to broker
mqtt.setServer(broker, port);
mqtt.connect();
}
Basicly, It works fine.
But I also have issue https://github.com/alkonosst/SSLClientESP32/issues/9
I would like to discuss this issue for make stuff more stable :(
Hello, Please I need to connect a sim7000G to AWS IoT Core, I am using the Tinygsm library. I can do simple MQTT communication, but I can't find any documentation or tutorial to load the certificates "CA", "XXXXXXXX-certificate.pem.crt" and "XXXXXXXX-private.pem.key"
Many in forums that look for the same thing but there is no clear documentation. I will appreciate it. Thanks!