elementzonline / SIM800_MQTT

Visit our blog/website for more information
http://www.elementzonline.com
GNU General Public License v3.0
170 stars 96 forks source link

[Feature Request] Add SSL/TLS support #17

Closed openbufo closed 4 years ago

openbufo commented 7 years ago

What if MQTT broker accepts SSL/TLS connection? In IoT, security stands first and SSL support is inevitable.

tusharvb19 commented 6 years ago

Need SSL/TLS support. Isn't it easy by doing AT+HTTPSSL=1???

jameshowe commented 5 years ago

@tusharvb19 old thread, however, given the library establishes a TCP then it would be AT+CIPSSL=1

rudolfbyker commented 5 years ago

When working with AWS IoT, it seems that there are some extra requirements:

Clients wishing to connect using MQTT with X.509 Client Certificate authentication on port 443 must implement the Application Layer Protocol Negotiation (ALPN) TLS extension and pass x-amzn-mqtt-ca as the ProtocolName in the ProtocolNameList.

Source: https://docs.aws.amazon.com/iot/latest/developerguide/protocols.html

I'm not sure if that applies to other brokers, too.

elementzonline commented 5 years ago

Hi,

I am not maintaining the repo anymore. Feel free to clone the repo and make changes.

We are now using A9G module for Mqtt based communication. It supports SSL communication as well.

On Thu, Nov 15, 2018, 11:24 PM Rudolf Byker <notifications@github.com wrote:

When working with AWS IoT, it seems that there are some extra requirements:

Clients wishing to connect using MQTT with X.509 Client Certificate authentication on port 443 must implement the Application Layer Protocol Negotiation (ALPN) TLS extension and pass x-amzn-mqtt-ca as the ProtocolName in the ProtocolNameList.

Source: https://docs.aws.amazon.com/iot/latest/developerguide/protocols.html

I'm not sure if that applies to other brokers, too.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/elementzonline/SIM800_MQTT/issues/17#issuecomment-439131913, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2sH9V8biZg5ERp9fdJ_AebHrfWTsWgks5uvapOgaJpZM4MjY0n .

krpagar commented 5 years ago

Hello Dhanish,

Thanks for making library available for us !

I started with the library examples. I am able to connect to Adaruits.io but not able to publish data continuously... In fact i don't know where to and how add publish routine.. if could any sample simple code which sending data to broker then it would be very helpful for me.

I hope i will learn the MQTT by knowing above things..

Expecting your favourable reply.

Thanks & Regards, Kartik Pagar

On Fri 16 Nov, 2018, 3:16 PM Dhanish Vijayan <notifications@github.com wrote:

Hi,

I am not maintaining the repo anymore. Feel free to clone the repo and make changes.

We are now using A9G module for Mqtt based communication. It supports SSL communication as well.

On Thu, Nov 15, 2018, 11:24 PM Rudolf Byker <notifications@github.com wrote:

When working with AWS IoT, it seems that there are some extra requirements:

Clients wishing to connect using MQTT with X.509 Client Certificate authentication on port 443 must implement the Application Layer Protocol Negotiation (ALPN) TLS extension and pass x-amzn-mqtt-ca as the ProtocolName in the ProtocolNameList.

Source: https://docs.aws.amazon.com/iot/latest/developerguide/protocols.html

I'm not sure if that applies to other brokers, too.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/elementzonline/SIM800_MQTT/issues/17#issuecomment-439131913 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AC2sH9V8biZg5ERp9fdJ_AebHrfWTsWgks5uvapOgaJpZM4MjY0n

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/elementzonline/SIM800_MQTT/issues/17#issuecomment-439338762, or mute the thread https://github.com/notifications/unsubscribe-auth/AaedA9GP0lJuKvhQAykcNbAh-wZbkcO4ks5uvolsgaJpZM4MjY0n .

elementzonline commented 4 years ago

Closing due to inactivity