PN 1001933 rev 2
© NimbeLink Corp. 2022. All rights reserved.
13
3.2 Verifying the Certificate Uploads
To verify that the file upload was successful, issue the following command:
AT+QFLST
The terminal should respond with something similar to:
+QFLST: "cacert.pem",1758
+QFLST: "clientcert.pem",1224
+QFLST: "clientkey.pem",1675
To further check the success of the upload, it is possible to open and read the contents
of any of the files that were uploaded to the file system. To do so, issue the following
command to open a file, replacing the filename accordingly:
AT+QFOPEN="cacert.pem"
The terminal should respond with something similar to:
+QFOPEN: 1
Where “
cacert.pem
" is replaced with the name of the file to be opened, and “
1
" is the
index in which the file was opened.
To read the contents of the opened file, issue the following command:
AT+QFREAD=1
Where “
1
" is replaced with the index that was listed in the response to the previous
command. The terminal will respond with the contents of the file, which will be similar to:
CONNECT 1758
-----BEGIN CERTIFICATE-----
MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCB
yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
.
.
.
.
.
.
.
.
.
4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vEZV8N
hnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq
-----END CERTIFICATE-----