Closed DaveCalaway closed 5 years ago
@DaveCalaway this is not the right place to request generic help. This is an issue tracker, meant to track issues in the core hosted in this repo. Off the top of my head, I suggest setting up a generic TLS server with your certificates and getting the ESP to connect to it. Then, once you fully understand how that works, continue on to MQTT. At a glance, you seem to be on the right track (you're setting up the wificlientsecure individually), but I can't tell if there's anything wrong. As a second suggestion, you might seek help from the MQTT lib author.
Closing due to 3rd party lib.
@DaveCalaway : setclock so that certificate can be validated
Platform
Hi everyone, i have a question about TLS and the MQTT.
I would like to send a message from my ESP8266 to the Mosquitto Broker using MQTT + TLS.
Using this guide i understood:
Now i searched for a esp8266 example, i found some exercises with "BearSSL WiFi Classes".
This is my code:
The callback, setup_wifi, and the variables are sets correctly.
The code doesn't go after the TLS check, someone can help me?