Create and activate a device certificate - AWS IoT

Create and activate a device certificate

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

  1. Choose Create certificate.

    
                            Add a certificate for your thing
  2. On the Certificate created page, choose the Download links to download the certificate, private key, and root CA for AWS IoT Core. (You do not need to download the public key). 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 Server Authentication page where you choose a CA certificate. Unlike the other Download links on the page, it doesn't directly download a file.

    
                            Certificate created!

    Be aware that the downloaded file names might be different from 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 revocation. If this should occur, you must copy a new root CA certificate onto your device.

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

When working with a device, you must copy the private key and root CA certificate onto your device. The instructions in this guide are written with the assumption that you are not using a device and are simply getting familiar with the AWS IoT console.