Skip to content
Kamil Baczkowicz edited this page Oct 27, 2016 · 3 revisions

Connecting to Amazon AWS IoT MQTT broker

In your connection settings, go to Security/TLS. Select the "CA certificate and client certificate/key" mode.

The following fields are required:

  • Protocol: TLS version 1.2
  • CA certificate file
  • Client certificate file
  • Client key file
  • Client key in PEM format: selected

Connecting to IBM Bluemix Watson IoT MQTT broker

For a great walkthough on how to connect to IBM's Watson IoT platform running on Bluemix see the following tutorial: http://maximodev.blogspot.co.uk/2016/06/watson-iot-mqtt-apis-walkthrough-tutorial.html

Error: Could not find or load main class pl.baczkowicz.mqttspy.Main

The most likely cause of this error is missing JavaFX support on your operating system. Depending on the OS you need to take different actions: