Creating a code-signing certificate for
custom hardware
Using an appropriate toolset, create a self-signed certificate and private key for your hardware.
Use the AWS Command Line Interface to import your code-signing certificate, private key, and certificate chain into AWS Certificate Manager. For information about installing the AWS CLI, see Installing the AWS CLI.
After you create your code-signing certificate, you can use the AWS CLI to import it into ACM:
aws acm import-certificate --certificate fileb://code-sign.crt --private-key fileb://code-sign.key
The output from this command displays an ARN for your certificate. You need this ARN when you create an OTA update job.
ACM requires certificates to use specific algorithms and key sizes. For more information, see Prerequisites for Importing Certificates. For more information about ACM, see Importing Certificates into AWS Certificate Manager.
You must copy, paste, and format the contents of your code-signing certificate into the
vendors/
file that is part of the FreeRTOS code you download later.vendor
/boards/board
/aws_demos/config_files/ota_demo_config.h