3. Install the certificates in the device file system

Your device must establish a secure connection with AWS IoT using X.509 certificates. You must generate these certificates and register them in your AWS account:

  1. To create and register the certificates, see the AWS IoT documentation.
  2. Install the certificate and private key associated with your device, for example inside the/etc/ssl/certs directory.
  3. ~> scp <root_ca_file_name> root@<ip>:/etc/ssl/certs/
    ~> scp <signed_cert_file_name> root@<ip>:/etc/ssl/certs/
    ~> scp <private_key_file_name> root@<ip>:/etc/ssl/certs/
    ~> sync