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