ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQTT configuration help request

Post new topic  Reply to topic
 MQTT configuration help request « View previous topic :: View next topic » 
Author Message
sasori
PostPosted: Mon Sep 23, 2019 5:22 pm    Post subject: MQTT configuration help request Reply with quote

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
Code:

port 8883


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
View user's profile Send private message
RogerLacroix
PostPosted: Tue Sep 24, 2019 9:13 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQTT configuration help request
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.