Comments (5)
Hi. No, you shouldn't need any extra tools.
Have a look at https://github.com/kamilfb/mqtt-spy/blob/development/mqtt-spy-common/src/test/java/pl/baczkowicz/mqttspy/connectivity/ConnectionTestingWithMosquitto.java and https://github.com/kamilfb/mqtt-spy/tree/development/mqtt-spy-common/src/test/resources. These are unit/integration tests for TLS/SSL & mosquitto. Most are with a local instance of mosquitto and some with the public test server. There are also scripts for generating those keys and certificates.
Let me know if that works for you.
from mqtt-spy.
Hi Kamil, thanks for responding to my question. I am pretty sure that I have generated the ca/key files correctly because I can get messages to flow when I use mosquitto_pub & mosquitto_sub on port 8883. I have no knowledge of java so I've attempted to read your code but not really sure what I'm looking at or what I am suppose to do with the links you sent me. thanks for trying to help
from mqtt-spy.
Closed by mistake
from mqtt-spy.
Hi. I recall having a similar issue, with mosquitto_pub & sub working, but mqtt-spy not, and vice versa.
How do you generate those ca/key files?
Have a look at:
https://github.com/kamilfb/mqtt-spy/blob/development/mqtt-spy-common/src/test/resources/mosquitto/ssl/bouncy_castle/generate-client.sh
and
https://github.com/kamilfb/mqtt-spy/blob/development/mqtt-spy-common/src/test/resources/mosquitto/ssl/mosquitto_sub/generate-client.sh
Not using "-addtrust clientAuth" when generating these files made it work for mqtt-spy. I didn't spend much time looking into it though - something I'm hoping to do in the coming months. In the meantime, if you still can't get mqtt-spy to work, maybe try MQTT.fx - it's got extensive SSL/TLS support.
from mqtt-spy.
Hi Kamil, thank you for trying to help with my problem. I regenerated my files following the instructions on this website and my prolem was cleared up.
thanks again
Cyn
http://lukse.lt/uzrasai/2015-02-internet-of-things-messaging-mqtt-1-installing-mosquitto-server/
Date: Mon, 17 Aug 2015 15:49:29 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [mqtt-spy] Just a question about mqtt-spy with TLS (#42)
Hi. I recall having a similar issue, with mosquitto_pub & sub working, but mqtt-spy not, and vice versa.
How do you generate those ca/key files?
Have a look at:
and
Not using "-addtrust clientAuth" when generating these files made it work for mqtt-spy. I didn't spend much time looking into it though - something I'm hoping to do in the coming months. In the meantime, if you still can't get mqtt-spy to work, maybe try MQTT.fx - it's got extensive SSL/TLS support.
—
Reply to this email directly or view it on GitHub.
from mqtt-spy.
Related Issues (20)
- Feature request: send retained msg using GUI HOT 3
- Integrate into operating systems apps list HOT 1
- Suggestion for docs: Deleting retained messages in bulk HOT 1
- Feature Request - Support for elliptic curves based keys (TLS) HOT 1
- Last Will data length inconsistency HOT 2
- Last Will received data has unexpected value HOT 1
- problem with subscriptions HOT 1
- UNICODE Replacement character when saving a message as script HOT 1
- typo within documentation HOT 1
- possible extension to Wiki HOT 1
- Feature request; message load chart for individual topics HOT 1
- problem with Message content chart HOT 1
- problem with Message content chart HOT 1
- Load script with common functions HOT 1
- Unsupported class version error HOT 1
- can't launch jar HOT 4
- timestamp of mqtt-spy-daemon.messages in readable format
- Message load chart: Message size plotting not working
- Exception in Application start method - OpenJDK 11 HOT 2
- Message Content Chart: JSONPath: Value Expression - ?() Filter expressions doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqtt-spy.