Install the certificates
Place the downloaded certificates into a folder with a name to match your Thing's name or the 10-character ID used in the filenames that correspond to the start of the certificate's ID shown in the AWS IoT console.
To simplify file management on the XBee device and to allow re-use of the same code on multiple devices, give the files shorter names.
|
Original name |
New name |
|---|---|
|
9770fec281-certificate.pem.crt |
aws.crt |
|
9770fec281-private.pem.key |
aws.key |
|
9770fec281-public.pem.key |
(unused) |
|
SFSRootCAG2.pem |
aws.ca |
Use XCTU or ATFS commands in a terminal emulator to upload the three files to the cert/ directory on the XBee device. For security, use ATFS XPUT to upload the aws.key as a secure file. We recommend using the Starfield Services Root Certificate from amazontrust.com/repository/ as the intermediate CA certificates provided by Amazon do not work on some cellular modules. Note the Verisign certificate is now considered legacy by Amazon.
Many of the intermediate root certificate authorities on the AWS repository (amazontrust.com/repository/) do not work with the TLS implementation on the XBee Cellular Modems. To ensure that you have success, you need to use a specifc Starfield Technologies Root Certificate Authority depending on which XBee you are using.
The only usable certificate currently available is the Starfield Services Root Certificate Authority - G2, for the *21 release and above. Note that the server certificates presented by AWS IoT include this certificate in the chain of trust. It has the following SHA-256 hash and can be obtained from Starfield Technologies.
Note For any Digi-provided product, it is recommended to use only *21 and above while connecting to AWS IoT. This guidance may not apply to you if you're using your own PKI.
| Applicable release |
Required certificate |
Download | SHA-265 hash |
|---|---|---|---|
| *21 and above |
Starfield Services Root Certificate Authority - G2 |
PEM |
2b071c59a0a0ae76b0eadb2bad23bad 4580b69c3601b630c2eaf0613afa83f92 |
PDF
