hivemq-mqtt-client icon indicating copy to clipboard operation
hivemq-mqtt-client copied to clipboard

Feature Request: Options to pass ALPN and SNI while connecting to AWS IoT

Open onlybytes opened this issue 4 years ago • 5 comments

Feature Request: Unable to connect to AWS IoT MQTT with custom authorizers

Hi,

We are using Hivemq-mqtt-client in our MQTT solution. It is working fine for connecting to MQTT brokers like: HiveMQ, VerneMQ, RabbitMQ.

We have a requirement to connect to AWS IoT. There are two options -- One using certificates, other using custom authorizers. While using custom authorizers (username and password and lambda functions), we must pass ALPN and SNI for it to work. https://docs.aws.amazon.com/iot/latest/developerguide/custom-auth.html#custom-auth-mqtt

Is there an option to pass these values to connect to AWS IoT?

onlybytes avatar Feb 14 '21 05:02 onlybytes

Hi @onlybytes SNI is already supported out of the box. Unfortunately ALPN can currently not be configured, so we accept this as a feature request.

SgtSilvio avatar Feb 14 '21 21:02 SgtSilvio

Hi @SgtSilvio

Many thanks

onlybytes avatar Feb 15 '21 16:02 onlybytes

Hi! Any updates on this? ALPN seems to become more and more used, especially with cloud-based brokers.

guentherwieser avatar Jul 18 '23 11:07 guentherwieser