Changes for page How to configure the certificate?
Last modified by Xiaoling on 2024/05/21 14:45
From version 8.2
edited by Xiaoling
on 2024/05/21 14:45
on 2024/05/21 14:45
Change comment:
There is no comment for this version
To version 8.1
edited by Mengting Qiu
on 2024/05/20 10:05
on 2024/05/20 10:05
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.ting - Content
-
... ... @@ -1,15 +1,11 @@ 1 1 2 2 3 -**Table of Contents:** 4 - 5 5 {{toc/}} 6 6 7 7 6 += 1. Burn the Configure certificate. = 8 8 9 9 10 -= 1. Burn the Configure certificate = 11 - 12 - 13 13 (% style="color:blue" %)**hex firmware.** 14 14 15 15 After burning, the serial port displays as follows: ... ... @@ -17,9 +17,12 @@ 17 17 [[image:image-20240520093014-1.png]] 18 18 19 19 20 -= 2. Configure CA certificate = 21 21 22 22 18 + 19 += 2. Configure CA certificate. = 20 + 21 + 23 23 Please input the certificate in PEM format for the user. (The format of the image is entered casually, not in PEM format.) 24 24 25 25 Use the AT command (% style="color:blue" %)**AT+CACERT** (%%)as follows: ... ... @@ -28,12 +28,14 @@ 28 28 29 29 [[image:image-20240520093355-2.png]] 30 30 31 -If the configuration succeeds, the message **" successfully configured CA certificate "**is displayed. Otherwise it is considered configuration failure.30 +If the configuration succeeds, the message " successfully configured CA certificate " is displayed. Otherwise it is considered configuration failure. 32 32 33 33 34 -= 3. Configure client certificate = 35 35 36 36 35 += 3. Configure client certificate. = 36 + 37 + 37 37 Use the AT command (% style="color:blue" %)**AT+CLICERT** (%%)as follows: 38 38 39 39 The following certificates are for free input. Please enter the complete certificate when using them. ... ... @@ -40,12 +40,14 @@ 40 40 41 41 [[image:image-20240520095757-3.png]] 42 42 43 -Display **"Successfully configured client certificate."**Configuration successful, otherwise configuration failed.44 +Display "Successfully configured client certificate." Configuration successful, otherwise configuration failed. 44 44 45 45 46 -= 4. Configure client private key = 47 47 48 48 49 += 4. Configure client private key. = 50 + 51 + 49 49 Use the AT command (% style="color:blue" %)**AT+CLIKEY**(%%), as shown below. 50 50 51 51 The following certificates are for free input. Please enter the complete certificate when using them. ... ... @@ -52,28 +52,33 @@ 52 52 53 53 [[image:image-20240520095936-5.png]] 54 54 55 -Display **"Successfully configured client private key."**If the configuration is successful, otherwise it is considered configuration failure.58 +Display "Successfully configured client private key." If the configuration is successful, otherwise it is considered configuration failure. 56 56 57 57 58 -= 5. burn the xx-NB-GE.bin file = 61 += 5. burn the xx-NB-GE.bin file. = 59 59 60 60 61 61 After the certificate configuration is completed, burn the xx-NB-GE.bin file, which is the official product firmware. 62 62 63 63 67 + 68 + 64 64 = 6. AT+TLSMOD command = 65 65 66 66 67 67 To use the TLS mode certificate function, users need to configure the (% style="color:blue" %)**AT+TLSMOD**(%%) command. 68 68 69 - *(% style="color:blue" %)**AT+TLSMOD=1,0**(%%)~/~/No authentication74 +(% style="color:blue" %)**AT+TLSMOD=1,0**(%%) No authentication 70 70 71 - *(% style="color:blue" %)**AT+TLSMOD=1,1**(%%)~/~/Perform server authentication76 +(% style="color:blue" %)**AT+TLSMOD=1,1**(%%) Perform server authentication 72 72 73 - *(% style="color:blue" %)**AT+TLSMOD=1,2**(%%)~/~/Perform server and client authentication if requested by the remote server78 +(% style="color:blue" %)**AT+TLSMOD=1,2**(%%) Perform server and client authentication if requested by the remote server 74 74 75 75 76 76 77 77 78 78 84 + 85 + 86 + 79 79