Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Mosquitto reconnect and MOSQ_OPT_SSL_CTX

Hi Tatsuzo,
   I have just logged an issue. From my point of view, the cleaner and nicer approach would be to support ALPN in Mosquitto. Alternatively since Mosquitto does allow developer to pass their own SSL_CTX object to the Mosquitto instance, then this should be considered during reconnect. Probably this will not be as easy as the first option.
Regards
Santosh


From: Tatsuzo Osawa <tatsuzo.osawa@xxxxxxxxx>
To: General development discussions for the mosquitto project <mosquitto-dev@xxxxxxxxxxx>
Sent: Friday, August 17, 2018 4:13 PM
Subject: Re: [mosquitto-dev] Mosquitto reconnect and MOSQ_OPT_SSL_CTX

(This thread exists on the web archive, but not in my mailbox....)

Hi Santosh,

In my understanding, mosquitto has not supported AWS ALPN yet,
although paho did. I think this feature is important, because I guess
a number of users use local mosquitto bridge connecting to remote AWS
IoT via https-proxy. Could you post
https://github.com/eclipse/mosquitto/issues as a new feature request?

Also refer https://dev.eclipse.org/mhonarc/lists/mosquitto-dev/msg01795.html .

Regards,
Tatsuzo

----------------------------------
Hi,
  The Mosquitto reconnect functionality, when using loop_start(), does
not seem to work when the initial connection was established by
passing in my own openssl SSL_CTX in the call to
opts_set(MOSQ_OPT_SSL_CTX, ...). I need to pass my own SSL_CTX in
order
to set the ALPN protocol for AWS connections on port 443. There
doesn't seem to be anyway currently to do this directly at the
Mosquitto interface. Could anyone confirm this behavior? Is this a
bug?
Regards
Santosh S
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev



Back to the top