Articles in this section

How to create PLC MQTT certificates

Use this guide to create MQTT certificates and connection details for a PLC integration in Factbird. The generated certificates allow your PLC gateway or MQTT client to connect securely to Factbird.

When to Use This

Use this guide if:
  • You need MQTT certificates for a PLC integration
  • You want to connect a PLC gateway to Factbird securely
  • You need a hardware ID and MQTT topics for PLC data ingestion

Prerequisites

Before starting:
  • You must have access to the Factbird platform
  • You must have permission to manage integrations or devices
  • Your PLC gateway or MQTT client must support TLS certificates
  • You must know which client type to use

Steps

  1. Go to Administration->Devices
  2. Click + Device and select Custom Integration

  3. In the Client type dropdown, select the PLC integration type you want to use.
  4. Review the expected payload format displayed in the setup window.
  5. Review the MQTT endpoint listed under Endpoints.
  6. Review the generated MQTT topics:
    • plc/input/<hardwareId> for periodic sensor data
    • plc/event/<hardwareId> for event-driven messages
  7. Click Create Client.
  8. Wait for the confirmation message: Client created successfully.
  9. Copy or save the generated Hardware ID.
  10. Click Download Certificate Archive.
  11. Save the downloaded certificate archive securely.
  12. Extract the certificate archive.
  13. Import the certificates into your PLC gateway or MQTT client.
  14. Configure the MQTT connection using:
    • The provided MQTT endpoint
    • Port 8883
    • The downloaded certificates
    • The generated hardware ID
    • The generated MQTT topics
  15. Click Done to close the setup dialog.

Expected Result

After completing these steps:
  • MQTT certificates are generated successfully
  • A unique hardware ID is created
  • Certificate files are downloaded successfully
  • Your PLC gateway can authenticate securely with Factbird
  • Your PLC integration is ready to publish MQTT data

Still Need Help?

Contact Support and include:
  • The generated hardware ID
  • The selected client type

Related Articles

 

Was this article helpful?
0 out of 0 found this helpful