Skip to content

Commit 72c017e

Browse files
Updated README
1 parent df68260 commit 72c017e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ A sample Docker environment file has been included if you choose to run the clie
132132

133133
1. Download the AWS IoT CA server certificate from [here](https://www.amazontrust.com/repository/AmazonRootCA1.pem) and
134134
store it in the `client` directory. This will be used by the IoT client to trust the AWS IoT Core Device Gateway.
135+
`wget -O client/AmazonRootCA1.pem https://www.amazontrust.com/repository/AmazonRootCA1.pem`
135136

136137
2. Make sure the correct environment variables mentioned above are configured. The exact commands to do
137138
this might vary slightly between operating systems and runtime environments. But generally in standard Linux/Unix shells
@@ -181,7 +182,7 @@ The URL for the request is: <Registration API endpoint from CloudFormation stack
181182

182183
3. Copy the token out of the response from the previous request and use it to create a "POST" request to the local IoT client.
183184
Please note the token expires in 5 minutes. The URL for this request is `127.0.0.1:5000/regToken`.
184-
The body should be JSON and the structure is: `{"registrationCode": <value>}`
185+
The body should be JSON and the structure is: `{"registrationCode": "<value>"}`
185186

186187
`curl --request POST '127.0.0.1:5000/regToken' --header 'Content-Type: application/json' \
187188
--data-raw '{"registrationCode": <token from previous request>}'`

0 commit comments

Comments
 (0)