MQTT - Connect to port 443

Hi.

AWS IOT Core provides a very useful feature for MQTT connections in that it provides 443 as a port you can use, employing a lower level TLS technique called ALPN (Application-Layer Protocol Negotiation - Wikipedia ) to figure out the protocol being used.

This is obviously very handy when firewall rules often allow outbound to port 443 by default.

Are there plans in the MQTT modules to support this feature?

(Note: having used the feature myself from within a Java application using Paho MQTT client, I am aware that it required supplying my own SSLSocketFactory to the MQTT Client and it was only possible on Java 9+ when ALPN became an available TLS feature)

@wes0johnson

This is already supported in MQTT Transmission for Ignition7. It has not been ported to Transmission for Ignition8 yet.

That’s great! Thanks for the update. Do you think that will be ported to I8 soon?

It’s in the backlog but hasn’t been prioritized yet. I should also note that AWS IoT Core is not fully Sparkplug compliant. It can’t support primary host IDs and also doesn’t ensure in-order delivery. So, it really isn’t an ideal MQTT Server for Sparkplug applications.

I understand there are limitations in its compliance, but putting that to one side, being able to smooth the path for data ingestion into a cloud platform by removing the corporate firewall hurdle of requesting port 8883 to be opened, really is a significant time saver sometimes. I’d love to see it enabled again in v8. Thanks, John.

This has now been added to the MQTT modules in the v4.0.8 release.