Closed pablofr918 closed 2 years ago
@pablofr918 I have few queries here.
@RupeshPilania Hi, thanks for the reply. I could finally do it the same way you say. I Used SSLClient Library in order to warp the TinyGSM client in a SSL client, and used Trust Anchors to upload the certificate.
Thank you for the support, closing the issue! :)
Hi @pablofr918 , I am here in the same issue, can you please upload your code or some example? I try to use mqtts with self signed certificate with sim7070g. Thanks!
?
@pablofr918
@pablofr918
[ x] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module
[ ] Bug or problem compiling the library [x ] Bug or issue with library functionality (ie, sending data over TCP/IP) [ ] Question or request for help
What are you working with?
Modem: SIM800C Main processor board: ESP32 TinyGSM version: latest Code:
Scenario, steps to reproduce
Hello! i'm trying to make a SSL connection to a broker with the example given, but I can't make it possible. I have first tried to make this connection through the AT commands, and it seems to work, so I then tried to make it with the library, but connection fails everytime. The commands I use to make the connection through AT are the following:
Modifying the APN and the broker url to connect.
Now I will paste the code I'm using to try the connection:
I have added this part:
Just to make exactly the same steps than the AT commands. I turn SSL option on, and then the mqtt connects to the broker, port given. But it fails.
Someone can help me, or has just made a connection to a broker with SSL?
Thank you very much!