|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQTT configuration help request |
« View previous topic :: View next topic » |
Author |
Message
|
sasori |
Posted: Mon Sep 23, 2019 5:22 pm Post subject: MQTT configuration help request |
|
|
Newbie
Joined: 23 Sep 2019 Posts: 1
|
I need help to configure this MQTT to work on TLS mode.
I have setup the MQTT in the server, then I set it up also in a remote computer.
Remote Server is running
Code: |
mosquitto_sub -h localhost -t 'testtopic' -p 1883 |
Remote Computer is running
Code: |
mosquitto_pub -h domainName -t 'testopi' -m "test message" -p 1883 |
the server MQTT configuration is like this
Code: |
pid_file /var/run/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
port 1883
persistence_file mosquitto.db
log_dest syslog
log_dest stdout
log_dest topic
log_type error
log_type warning
log_type notice
log_type information
connection_messages true
log_timestamp true
allow_anonymous true
tls_version tlsv1
|
it works, the remote server was able to receive the message from the remote computer. However when I tried
then created self signed certificates using the remote server,
copied the certificates from the remote Server into the remote computer,
then passed the certificates into the --cafile to the mosquitto_sub ,
I got a TLS error, it doesn't work at all. do you have proper procedure to execute the TLS mode of the MQTT transmission ? . ( i followed the steve's internet guide to mqtt with tls , but i failed to have the TLS transmission)
I'll appreciate much your help.. thank you  |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue Sep 24, 2019 9:13 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
I don't think you are going to get much help here. These are forums for questions related to IBM MQ, MQ broker, IIB, ACE, etc.
Yes, IBM MQ can be used as a basic MQTT broker but you are asking for help related to Mosquitto as a broker which has nothing to do with IBM MQ.
You should post your question on StackOverflow ( https://stackoverflow.com/questions/tagged/mqtt ) and use the tags: mqtt and mosquitto.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|