cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Digital Manufacturing - subscribe to MQTT topics

Fabi
Discoverer
709

Hello,

I would like to subscribe to a MQTT topic in SAP Digital Manufacturing. The MQTT broker runs on the same machine as the SAP Production Connector. The process is as follows: A OPC UA server publishes events and alarms which are consumed by a Node-RED flow which further publishes the message as JSON to a Mosquitto MQTT broker and topic.

The problem now is that I am not able to connect to the MQTT broker from SAP Digital Manufacturing via Production Connector because I would have to upload a "Client Certificate" consisting of a private key, client certificate, CA certificate and root certificate in the .pem format according to SAP Help Portal. I've done that and also integrated the client key and all certificates into one .pem file. After uploading the certificate chain as single file into SAP Digital Manufacturing in the app "Manage Message Brokers", Section 3rd Party Brokers and Production Connectors, I receive the following error:

Couldn't upload Production Connector client certificate. Response: An error occurred while processing your request.

Any ideas how to further proceed here?

Thank you in advance for your help!

Best regards
Fabian

View Entire Topic
Kevin_Hunter
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Fabian,

I cant comment on the error message (you might have to raise a support ticket for that) but assume you have set up Mosquitto with client credential authentication as well.

What I can tell you is that I looked at out internal DM roadmap and it is planned to relax the MQTT authentication in the 2411 release (subject to change) so that you can connect to brokers without authentication.

Thanks

Kevin

 

vishalkulkar
Discoverer
0 Kudos

Hi Kevin,

I was just checking the release notes for 2411, i do not see this there. Is this coming in 2502?

Regards,

Vishal 

Kevin_Hunter
Product and Topic Expert
Product and Topic Expert
0 Kudos
I will check with the development team to see if this slipped into 2502 and get back to you.