MQTT Encryption Possible?
Moderators: grovkillen, Stuntteam, TD-er
MQTT Encryption Possible?
I've been using ESPEasy locally for a while now, and it works very well. Is there a way to use it securely across the internet using something like TLS and certificates connecting to port 8883? If not, is it possible for this to be added in future, maybe at the expense of some of the other features? I only use GPIO and 1-Wire sensors
Thanks
Thanks
Re: MQTT Encryption Possible?
Hi,
It should be possible but without chain verification, only the fingerprint of the server will be verified. It is still in development though. The version with encryption will have a heavy toll on RAM usage so exepect less builtin devices.
It should be possible but without chain verification, only the fingerprint of the server will be verified. It is still in development though. The version with encryption will have a heavy toll on RAM usage so exepect less builtin devices.
Re: MQTT Encryption Possible?
Thanks for the reply, do you know when the next version with encryption will be out?
Re: MQTT Encryption Possible?
Sorry, no.
Just started the research on it.
Just started the research on it.
Re: MQTT Encryption Possible?
Encryption like TLS/SSL is basically supported by the ESP8266 Arduino Core but it consumes huge amounts of RAM. Earlier experiments on ESP Easy running SSL have only led to system crashes and malfunctioning due to low memory situations. It seems almost impossible to adopt things like this in the current project.sheppy wrote:I've been using ESPEasy locally for a while now, and it works very well. Is there a way to use it securely across the internet using something like TLS and certificates connecting to port 8883? If not, is it possible for this to be added in future, maybe at the expense of some of the other features? I only use GPIO and 1-Wire sensors
Thanks
Re: MQTT Encryption Possible?
I wonder if the ESP32 will be a better fit for this? I guess running out of resources is the problem with software such as ESPEasy that supports many things on a low powered device.
I see that Adafruit has a library that supports TLS, has anyone got experience with this either good or bad?
I see that Adafruit has a library that supports TLS, has anyone got experience with this either good or bad?
Re: MQTT Encryption Possible?
Yes those were the days, continually running out of DOS base memory on Windows 3.1 just as you were about to save something importantpsy0rz wrote:i wonder if espeasy runs on the esp32 without modifications. it has 512kb ram i think? we used to run msdos with that
I think in my case I will have to experiment with a custom sketch with just the 1-wire library and a TLS supporting MQTT library, plus anything else that's needed to make it connect to wifi
Who is online
Users browsing this forum: No registered users and 24 guests