官术网_书友最值得收藏!

Creating a security certificate

Before we use AWS IoT, we should create a security certificate. Then, this certificate will be attached to our registered IoT device. Follow these steps:

  1. On AWS IoT Management Console, open your IoT device. Click on the Security option on the left-hand menu. You should see a form, as shown in the following screenshot:
  1. You should see a Create certificate button. Click on this button. Then, AWS IoT will generate private and public keys for your IoT device. Please download all certificate and key files:

These certificate and key files will be used in our program to access the  AWS IoT server. You should get four files, as follows:

    • Certificate file (*.pem)
    • Certificate public key file (*.key)
    • Certificate private key file (*.key)
    • Root certificate (*.pem) or (*.crt)
  1. Put all these files into a folder. Our program will access these files:

The next step is to write a program. We will do so in the next section.

主站蜘蛛池模板: 鸡西市| 湟源县| 临江市| 原阳县| 松江区| 许昌市| 儋州市| 江华| 平顺县| 江陵县| 黑龙江省| 突泉县| 翼城县| 拉萨市| 乐都县| 会同县| 顺平县| 屯门区| 建平县| 拜泉县| 桂平市| 七台河市| 于田县| 德惠市| 柳州市| 岳普湖县| 唐河县| 江津市| 曲水县| 得荣县| 乡城县| 北流市| 惠来县| 余江县| 霍邱县| 平塘县| 常州市| 重庆市| 饶平县| 徐州市| 房产|