
Page 12 of 42
5.5. Provisioning of per device certificate and keys into tracker
The following steps should be carried out for each tracker board:
$ sudo cellular_config --root_ca
VeriSign-Class-3-Public-Primary-Certification-Authority-G5.pem --cert
yourThingName.cert --key yourThingName.key
<Add example output here>
5.6. JSON configuration file preparation
A
file should be created for each tracker board that has been registered into AWS. Each file should be largely identical
yourThingName.json
with the exception of device-specific parameters that should be set as follows.
For the IOT configuration, the following fields are needed for the device-specific IOT cellular AWS configuration:
{
"version": 1, # Recommended to be set to 1 for first file version
"iot": {
"cellular": {
"aws": {
"arn": "xxxxxxxxx.iot.us-west-2.amazonaws.com"
"thingName": "yourThingName"
}
}
}
}
Note that the value for the
field can be obtain by running the following command:
"arn"
$ aws_config --get_iot_endpoint
2019-03-28 19:43:22,359 credentials INFO Found credentials in shared
credentials file: ~/.aws/credentials
a8fb7n41z7p2n.iot.us-west-2.amazonaws.com
The ARN is specific to each AWS account and does not change unless you switch to different AWS account's login credentials.
Arribada Horizon ARTIC R2 Developer’s Kit | User Manual