File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ A sample Docker environment file has been included if you choose to run the clie
132132
1331331 . Download the AWS IoT CA server certificate from [ here] ( https://www.amazontrust.com/repository/AmazonRootCA1.pem ) and
134134store 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
1361372 . Make sure the correct environment variables mentioned above are configured. The exact commands to do
137138this 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
1821833 . Copy the token out of the response from the previous request and use it to create a "POST" request to the local IoT client.
183184Please 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 >}'`
You can’t perform that action at this time.
0 commit comments