AWS IoT
Developer Guide

Create and Activate a Device Certificate

Communication between your device and AWS IoT is protected through the use of X.509 certificates. AWS IoT can generate a certificate for you or you can use your own X.509 certificate. In this tutorial, AWS IoT generates the X.509 certificate for you. Certificates must be activated prior to use.

  1. Choose Create certificate.

  2. On the Certificate created! page, choose Download for the certificate, private key, and the root CA for AWS IoT (the public key need not be downloaded). Save each of them to your computer, and then choose Activate to continue.

    Note

    The root CA for AWS IoT Download link takes you to the X.509 Certificates and AWS IoT page where you choose a CA certificate. Unlike the other Download links on the page, it doesn't directly download a file.

    Be aware that the downloaded filenames may be different than those listed on the Certificate created! page. For example:

    • 2a540e2346-certificate.pem.crt

    • 2a540e2346-private.pem.key

    • 2a540e2346-public.pem.key

    Note

    Although it is unlikely, root CA certificates are subject to expiration and/or revocation. If this should occur, you must copy new a root CA certificate onto your device.

  3. Choose Done to return to the AWS IoT console main page.

When working with a device you will need to copy the private key and rootCA certificate onto your device. This guide assumes you are not using a device and are trying out AWS IoT using the console.