Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With AWS IoT now properly provisioned and SSB installed, SSB must be configured. To configure it, you must be able to access it via SSH. Ensure you can access it via the Access Instructions here. Once you can access it, you must copy the three certificate files you captured when provisioning the AWS IoT Core thing. Again, these files are:

  • UUID.cert.pem
  • UUDT.private.key
  • AmazonRootCA1.pem

On the target EC2 instance, run the following command to create a directory to hold the certificates.

Code Block
languagebash
mkdir /opt/ssb/conf/certs

Now copy the three files to the /opt/ssb/conf/certs directory. When done, it should look similar to what is shown below.

Image Added

Now, modify the file /opt/ssb/conf/ssb.properties file. Set the following:

  • mqtt_server_url
    • This is the AWS IoT Core endpoint URL. It must be of the form: ssl://ENDPOINT_URL:8883
  • mqtt_ca_cert_chain_path
    • The path to the AWS root CA certificate
  • mqtt_client_cert_path
    • The path to the AWS thing certificiate
  • mqtt_client_private_key_path
    • The path to the AWS thing private key

When complete, it should look similar to what is shown below.

Image Added


Edge Setup with Ignition and MQTT Transmission

...