aws-samples / aws-iot-device-management-workshop

AWS IoT Device Management makes it easy to securely onboard, organize, monitor, and remotely manage IoT devices at scale. With this workshop your will learn hands-on the features from AWS IoT Device Management like several onboarding options, jobs, fleet indexing, thing groups and fine grained logging.
Apache License 2.0
66 stars 36 forks source link

Single device provisioning -> error on saving certificate command syntax #6

Open iakko opened 1 year ago

iakko commented 1 year ago

In the saving certificate command of this section, there is a syntax error on this command:

echo -e [CERTIFICATE_PEM] > $THING_NAME.crt

It should be:

echo -e '[CERTIFICATE_PEM]' > $THING_NAME.crt

Missing quotes creates a wrong pem format, not recognized in the mosquitto_pub command.