Hide last authors
Mengting Qiu 2.1 1
2
Xiaoling 8.2 3 **Table of Contents:**
4
Mengting Qiu 2.1 5 {{toc/}}
6
7
8
9
Xiaoling 8.2 10 = 1. Burn the Configure certificate =
11
12
Mengting Qiu 8.1 13 (% style="color:blue" %)**hex firmware.**
14
Mengting Qiu 4.2 15 After burning, the serial port displays as follows:
Mengting Qiu 2.1 16
Mengting Qiu 4.2 17 [[image:image-20240520093014-1.png]]
Mengting Qiu 2.1 18
19
Xiaoling 8.2 20 = 2. Configure CA certificate =
Mengting Qiu 2.1 21
Mengting Qiu 8.1 22
Mengting Qiu 4.2 23 Please input the certificate in PEM format for the user. (The format of the image is entered casually, not in PEM format.)
Mengting Qiu 2.1 24
Mengting Qiu 8.1 25 Use the AT command (% style="color:blue" %)**AT+CACERT** (%%)as follows:
Mengting Qiu 2.1 26
Mengting Qiu 4.2 27 The following certificates are for free input. Please enter the complete certificate when using them.
Mengting Qiu 2.1 28
Mengting Qiu 4.2 29 [[image:image-20240520093355-2.png]]
Mengting Qiu 2.1 30
Xiaoling 8.2 31 If the configuration succeeds, the message **" successfully configured CA certificate "** is displayed. Otherwise it is considered configuration failure.
Mengting Qiu 2.1 32
33
Xiaoling 8.2 34 = 3. Configure client certificate =
Mengting Qiu 2.1 35
36
Mengting Qiu 8.1 37 Use the AT command (% style="color:blue" %)**AT+CLICERT** (%%)as follows:
Mengting Qiu 4.2 38
Mengting Qiu 8.1 39 The following certificates are for free input. Please enter the complete certificate when using them.
Mengting Qiu 4.2 40
Mengting Qiu 8.1 41 [[image:image-20240520095757-3.png]]
Mengting Qiu 4.2 42
Xiaoling 8.2 43 Display** "Successfully configured client certificate."** Configuration successful, otherwise configuration failed.
Mengting Qiu 4.2 44
Mengting Qiu 8.1 45
Xiaoling 8.2 46 = 4. Configure client private key =
Mengting Qiu 8.1 47
48
49 Use the AT command (% style="color:blue" %)**AT+CLIKEY**(%%), as shown below.
50
51 The following certificates are for free input. Please enter the complete certificate when using them.
52
53 [[image:image-20240520095936-5.png]]
54
Xiaoling 8.2 55 Display **"Successfully configured client private key."** If the configuration is successful, otherwise it is considered configuration failure.
Mengting Qiu 8.1 56
57
Xiaoling 8.2 58 = 5. burn the xx-NB-GE.bin file =
Mengting Qiu 8.1 59
60
61 After the certificate configuration is completed, burn the xx-NB-GE.bin file, which is the official product firmware.
62
63
64 = 6. AT+TLSMOD command =
65
66
67 To use the TLS mode certificate function, users need to configure the (% style="color:blue" %)**AT+TLSMOD**(%%) command.
68
Xiaoling 8.2 69 * (% style="color:blue" %)**AT+TLSMOD=1,0**(%%)  ~/~/ No authentication
Mengting Qiu 8.1 70
Xiaoling 8.2 71 * (% style="color:blue" %)**AT+TLSMOD=1,1**(%%)  ~/~/ Perform server authentication
Mengting Qiu 8.1 72
Xiaoling 8.2 73 * (% style="color:blue" %)**AT+TLSMOD=1,2**(%%)  ~/~/ Perform server and client authentication if requested by the remote server
Mengting Qiu 8.1 74
75
76
77
78
Mengting Qiu 4.2 79
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0