DEV Community

Pujan Srivastava
Pujan Srivastava

Posted on • Edited on

3 1

Connect MQTT.fx.app to AWS IoT using Certificates

MQTT is an open OASIS and ISO standard lightweight, publish-subscribe network protocol that transports messages between devices. AWS IoT message broker implementation is based on MQTT version 3.1.1. AWS IoT Core supports MQTT over the WebSocket protocol to enable browser-based and remote applications to send and receive data from AWS IoT Core-connected devices using AWS credentials. AWS credentials are specified using AWS Signature Version 4. WebSocket support is available on TCP port 443, which allows messages to pass through most firewalls and web proxies. Link

Mqtt.fx is the JavaFX based MQTT Client.

MQTT.fx.app Download link

  • Profile Name: AWS or as you like
  • Broker Address: Get broker address from AWS
  • Broker port: 8883
  • Client ID: any random text (need to be unique)
  • SSL/TLS:
    • Click on Enable SSL/TLS checkbox
    • Select TLSv1.2 Protocol
    • Check Self Signed certificates box:
      • CA file: root-CA.crt file
      • Client Certificate File: THING.cert.pem file (download from IoT Core)
      • Client key File: THING.private.key file (download from IoT Core)

Alt Text

AWS IoT Certificate Creation

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs