<
From version < 24.5 >
edited by Xiaoling
on 2024/05/30 10:22
To version < 36.1 >
edited by Mengting Qiu
on 2025/02/07 11:41
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.ting
Content
... ... @@ -27,38 +27,30 @@
27 27  
28 28  a. Fill in any name
29 29  
30 -b. Configure the policy you created
31 31  
32 -[[image:image-20240528173144-3.png||height="572" width="931"]]
31 +b. Fill in * to Policy action and Policy resource (* stands for all)
33 33  
33 +[[image:image-20250103152135-2.png||height="777" width="1544"]]
34 34  
35 +
35 35  c. After clicking to enter the policy configuration page, follow the clicking sequence below to go to the json configuration interface, and then fill in the following fields in the "statement" keyword:
36 36  
37 -(% data-sider-select-id="7bc0f6db-481d-435a-ad0c-92cf0ede3ea4" %)
38 -(% data-sider-select-id="8026a4d9-df91-4895-b9c5-3d6ac9b46012" %)**{**
39 39  
40 -**~ "Version": "2012-10-17",**
39 +**{
40 + "Version": "2012-10-17",
41 + "Statement": [
42 + {
43 + "Effect": "Allow",
44 + "Action": "iot:*",
45 + "Resource": "*"
46 + }
47 + ]
48 +}**
41 41  
42 -**~ "Statement": [**
43 43  
44 -**~ {**
45 45  
46 -**~ "Effect": "Allow",**
52 +[[image:image-20250103151957-1.png||height="529" width="935"]]
47 47  
48 -**~ "Action": "",**
49 -
50 -**~ "Resource": ""**
51 -
52 -**~ }**
53 -
54 -**~ ]**
55 -
56 -**}**
57 -
58 -
59 -[[image:image-20240528173203-4.png||height="517" width="942"]]
60 -
61 -
62 62  d. Create this policy
63 63  
64 64  
... ... @@ -99,9 +99,9 @@
99 99  
100 100  (% style="color:blue" %)**5. When you click to create things, the certificate download page will pop up**
101 101  
102 -(% data-sider-select-id="398c8d35-75ff-4077-85bb-9e0377efa186" %)
103 -(% data-sider-select-id="087aa6c7-c542-4afc-9ce6-291538c31764" %)**This certificate is very important.**(%%) After creating the device, you must download the certificate of the device so that our NB device can connect normally.
104 104  
95 +**This certificate is very important.** After creating the device, you must download the certificate of the device so that our NB device can connect normally.
96 +
105 105  Please download all the following certificates and put them in a folder.
106 106  
107 107  [[image:image-20240528173926-10.png]]
... ... @@ -114,12 +114,17 @@
114 114  
115 115  = 4. Connect to AWS using Dragino-NB device =
116 116  
117 -(% data-sider-select-id="0bc6b974-b38c-48e7-b228-e220f1938e7f" %)
118 -== 4.1 F(% data-sider-select-id="293a2a9f-2191-4013-b0d9-8bcfb95a179a" %)or -NB /-NS model(%%) ==
119 119  
120 -=== (% data-sider-select-id="293a2a9f-2191-4013-b0d9-8bcfb95a179a" %)4.1.1 Upgrade the firmware to configure TTS firmware to set the certificate(%%) ===
110 +(% id="cke_bm_37736S" style="color:red; display:none" %)** **(% style="color:red" %)**Note: **(%%)In order to avoid problems with certificate writing, you need to set the serial port assistant to automatically add a newline character when sending commands, if there is no such newline character, the certificate written will be invalid.(Using the serial port assistant as an example)
121 121  
112 +[[image:image-20240822090554-1.png||height="501" width="656"]]
122 122  
114 +
115 +== 4.1 For -NB /-NS model ==
116 +
117 +=== 4.1.1 Upgrade the firmware to configure TLS firmware to set the certificate ===
118 +
119 +
123 123  User can change device firmware to::
124 124  
125 125  * Update with new features.
... ... @@ -134,16 +134,15 @@
134 134  
135 135  * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**.
136 136  
137 -=== (% data-sider-select-id="bb7de328-bb5d-4fe5-a008-7bf36bbf2d64" %)4.1.2 Configure certificate(%%) ===
134 +=== 4.1.2 Configure certificate ===
138 138  
139 139  
140 140  After upgrade the firmware, the serial port displays as follows:
141 141  
142 -(% data-sider-select-id="8b6a9e23-dec0-476c-acd4-098aa19fe1f3" %)
143 143  [[image:image-20240528174330-13.png||height="286" width="568"]]
144 144  
145 145  
146 -==== (% data-sider-select-id="4f272daa-a217-4469-8de7-f4905835bbad" %)4.1.2.1  Configure CA certificate(%%) ====
142 +==== 4.1.2.1  Configure CA certificate ====
147 147  
148 148  
149 149  Please input the certificate in PEM format for the user.
... ... @@ -202,7 +202,7 @@
202 202  Display (% style="color:blue" %)**"Successfully configured CA certificate."**(%%) If the configuration is successful, otherwise it is considered configuration failure.
203 203  
204 204  
205 -==== (% data-sider-select-id="0b9009b4-385e-4e1e-91d4-0175c1af339d" %)4.1.2.2 Configure client certificate(%%) ====
201 +==== 4.1.2.2 Configure client certificate ====
206 206  
207 207  
208 208  Use the AT command AT+CLICERT as follows:
... ... @@ -254,7 +254,7 @@
254 254  Display (% style="color:blue" %)**"Successfully configured client certificate."**(%%) Configuration successful, otherwise configuration failed.
255 255  
256 256  
257 -==== (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)4.1.2.3 Configure client private key(%%) ====
253 +==== 4.1.2.3 Configure client private key ====
258 258  
259 259  
260 260  Use the AT command AT+CLIKEY, as shown below
... ... @@ -320,17 +320,15 @@
320 320  Display(% style="color:blue" %)** "Successfully configured client private key."**(%%) If the configuration is successful, otherwise it is considered configuration failure.
321 321  
322 322  
323 -==== (% data-sider-select-id="9c62fd56-4ff5-48af-8cca-db4565d1f25d" %)4.1.2.4 Re-upgrade the firmware(%%) ====
319 +==== 4.1.2.4 Re-upgrade the firmware ====
324 324  
325 325  
326 -After the certificate configuration is completed, Re-upgrade to the firmware you originally used.
322 +After completing the certificate configuration, Burn the [[bootloader>>https://www.dropbox.com/sh/u0uzvvnn58yrie4/AAAvvF_KRveNgmDejzp23ziLa/NB-IoT/Bootloader?dl=0&subfolder_nav_tracking=1]] firmware first, then re-burn the original working [[firmware>>https://www.dropbox.com/sh/u0uzvvnn58yrie4/AACREHllkTe0rATD4ZOqddyga/NB-IoT?dl=0]].
327 327  
328 328  
329 -(% data-sider-select-id="02f5aceb-0a5d-4922-8c3a-7e6772f46ad4" %)
330 330  == 4.2  For -CB /-CS model ==
331 331  
332 -(% class="wikigeneratedid" data-sider-select-id="02f5aceb-0a5d-4922-8c3a-7e6772f46ad4" %)
333 -=== 4.2.1 Upgrade the firmware to configure TTS firmware to set the certificate ===
327 +=== 4.2.1 Upgrade the firmware to configure TLS firmware to set the certificate ===
334 334  
335 335  
336 336  User can change device firmware to::
... ... @@ -347,8 +347,6 @@
347 347  
348 348  * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**.
349 349  
350 -
351 -
352 352  === 4.2.2 Configure certificate ===
353 353  
354 354  
... ... @@ -359,6 +359,7 @@
359 359  
360 360  ==== 4.2.2.1 Configure CA certificate ====
361 361  
354 +(% style="color:red" %)**Note:You should select one of the certificates.Either CA1 or CA3 can be used**
362 362  
363 363  Please input the certificate in PEM format for the user.
364 364  
... ... @@ -544,8 +544,8 @@
544 544  
545 545  (% style="color:blue" %)**AT+DELCLICERT}**
546 546  
547 -(% style="color:blue" %)**AT+DELCACERT}**
548 -
540 +(% style="color:blue" %)**AT+DELCACERT}**(%%)
541 +(% style="color:blue" %)
549 549  
550 550  (% style="color:red" %)**Note: 1.When there is no certificate on the device, a deletion error will be displayed.
551 551   2.When the device already has a certificate, using the command to configure the certificate again will display a configuration error.**
... ... @@ -624,3 +624,5 @@
624 624  [[image:image-20240528175133-19.png||height="563" width="1022"]]
625 625  
626 626  [[image:image-20240528175154-20.png||height="752" width="1042"]]
620 +
621 +
image-20240814155410-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.kai
Size
... ... @@ -1,0 +1,1 @@
1 +77.8 KB
Content
image-20240822090554-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +75.4 KB
Content
image-20250103151957-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +53.9 KB
Content
image-20250103152135-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +121.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0