2 Answers
- Newest
- Most votes
- Most comments
0
The cups.trust certificate is obtained by calling get_service_endpoint() - https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/iotwireless.html#IoTWireless.Client.get_service_endpoint`
0
Hi. You can find a complete working example here: https://github.com/aws-samples/aws-iot-greengrass-component-lorawan-provisioning/blob/master/artifacts/main.py. It's a Greengrass component, but it does everything you need. In this case, the gateway self-provisions.
Relevant content
- asked 4 years ago
- asked 4 years ago
- asked 4 years ago

Digging a little deeper, I believe since these are only available once that I need to capture them when creating using
create_keys_and_certificate(), which I have working now..However, a new question is
create_keys_and_certificate()gives me:And I'm not clear on how these correspond to
cups.key,cups.trustandcups.crt. Is this correct? certificatePem = cups.crt PrivateKey = cups.key PublicKey = cups.trust? Or is cups.trust a different certificate not offered by thecreate_keys_and_certificate()response?