News:

  • August 15, 2026, 12:40:02 AM

Login with username, password and session length

Author Topic: MQTTS (MQTT Secure) and Sparkplug B  (Read 9250 times)

Mike@Forshock

  • Sr. Member
  • ****
  • Posts: 58
MQTTS (MQTT Secure) and Sparkplug B
« on: March 31, 2023, 09:22:10 PM »
First, glad to see some stock rolling through.  Was not having a good time getting an alternative together due to the delays (AB & S...r are not price competitive by any stretch).

MQTTS
Can connect to our internal MQTT broker without SSL\TLS (User authentication and client-ID based ACLs).  Works great, sending specified topics and JSON back and forth!
The issue happens when we select MQTTS.  We get an error: SSL\TLS Handshake failed.
We can connect to the same broker with MQTTX and generic mosquitto client via MQTTS without issue.
We are using our our self-signed certificate with our own CA. 
Must the certificate match the hostname?  Is self-signed accepted?  Can we add a workaround in the dialog?


And finally, it has been mentioned before: Sparkplug B.  It is now defacto across many SCADA/Data Collection software (Ignition, Geo SCADA/ClearSCADA, etc.) and devices (PLC, RTU, etc.).  The JSON works for many things, but this is becoming unavoidable and actually problematic as nearly all of these softwares are Sparkplug B and not JSON or even single item capable.

Thanks as always!

Mike

RBPLC

  • Hero Member
  • *****
  • Posts: 586
Re: MQTTS (MQTT Secure) and Sparkplug B
« Reply #1 on: March 31, 2023, 09:35:32 PM »
I have suggested/recommended in this forum before that resources be devoted to OPC implementation on the BRX. I believe it had been discussed to attempt to potentially implement this with a co-processor on the POM. I believe this now to be probably a waste of resources. I think that OPC is going to lose out to MQTT due to many reasons. That being said, as Mike stated, it will be critical that the BRX platform support Sparkplug B. I recommend that (wherever you guys are in current development) Sparkplug B be a focus along with EIP Implicit Scanner functionality. 

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: MQTTS (MQTT Secure) and Sparkplug B
« Reply #2 on: April 01, 2023, 12:12:40 PM »
I think the hostname does need to match. Pretty sure that's why we force a hostname and do not allow an IP address.

Sparkplug/B POM is essentially complete. We have delayed the launch of a nice batch of new modules because ADC wasn't comfortable promoting them when so many things are unavailable. Crazy thing...people get mad when you advertise things they can't buy. Go figure.

Aside: I have been spitting mad a handful of times lately when I get an Intel spam email promoting their latest FPGA that I can't even get a quote for. They have no product to sell, won't quote new product, and have the audacity to blow up my inbox. I've made sailors blush over that.

We are also developing an OPC/UA POM. It is a functional prototype, but not quite as complete as Sparkplug.

EIP Scanner is the single highest priority for next release.

Our second product shift starts Monday. More product will be flowing soon.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: MQTTS (MQTT Secure) and Sparkplug B
« Reply #3 on: April 04, 2023, 03:28:00 PM »
Our second product shift starts Monday. More product will be flowing soon.
I'm getting quite confused on recent delivery dates, I've watched availability go from December, to January, February, March, some went to May, and then two weeks ago it jumped to September, and now even October. Surely this isn't realistic? BX-DM1E-10ED23-D and BX-DM1E-18ED23-D for example. I'm pretty much out of inventory, and it's making it rather difficult to quote customers with a reasonable timeline.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: MQTTS (MQTT Secure) and Sparkplug B
« Reply #4 on: April 04, 2023, 03:36:42 PM »
I'm getting quite confused on recent delivery dates, I've watched availability go from December, to January, February, March, some went to May, and then two weeks ago it jumped to September, and now even October. Surely this isn't realistic? BX-DM1E-10ED23-D and BX-DM1E-18ED23-D for example. I'm pretty much out of inventory, and it's making it rather difficult to quote customers with a reasonable timeline.

We shipped over a month's worth of CPUs last week. New production shift started yesterday. I'm checking to see if there is a reason those particular CPUs are at issue, but product is moving right now.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: MQTTS (MQTT Secure) and Sparkplug B
« Reply #5 on: April 04, 2023, 04:27:40 PM »
There are no gating items on those models. Not sure how they are arriving at that, but I don't think we are communicating anything like that. We've been running about 4 months behind, but we expect that to start shortening immediately. Based on our increased production capacity, I expect the lead time to be dropping towards 0 over the next 2 to 3 months. Obviously stuff changes in a second these days, but we have parts and we have capacity and we're cranking to catch up.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO