また、ルート CA もシマンテックサイトから取得します。 $ curl -o rootCA.pem -s https://www.symantec.com/content/en/us/enterprise/verisign/roots/VeriSign-Class%203-Public-Primary-Certification-Authority-G5.pem AWS IoTポリシーの設定 AWS IoTの権限管理をするポリシーを作成します。 今回はDevice GatewayへのPublishのみを許可します。 $ cat iot-policy.json { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "iot:Publish" ], "Resource": [ "*" ] } ] }
![AWS IoTのDevice GatewayにHTTPプロトコルとクライアント認証でメッセージ送信する | DevelopersIO](https://cdn-ak-scissors.b.st-hatena.com/image/square/dc8ae103d405672f4bffc7fba1b446be5a22cd6a/height=288;version=1;width=512/https%3A%2F%2Fdevio2023-media.developers.io%2Fwp-content%2Fuploads%2F2015%2F10%2Faws-iot-eyecatch.png)