PN 1001933 rev 2
© NimbeLink Corp. 2022. All rights reserved.
14
Finally, to close the file, issue the following command:
AT+QFCLOSE=1
Where “
1
" is replaced with the index at which the file was opened. The terminal should
respond with:
OK
After each of the three files have been uploaded and verified properly, proceed to
3.3 SSL Profile Configuration
The next step is to configure the SSL connection parameters on the Skywire. To do this,
issue the following set of commands which utilize the
“
AT+QSSLCFG
" command. For
more detail
ed information about the “
AT+QSSLCFG
" command, refer to Quectel's SSL
application note located on the BG96 product page:
https://www.quectel.com/product/bg96.htm
1. Configure the cipher suite:
AT+QSSLCFG="ciphersuite",1,0x0035
This command selects TLS_RSA_WITH_AES_256_CBC_SHA as the cipher
suite used for the connection.
2. Specify the paths to the certificates:
AT+QSSLCFG="cacert",1,"ufs:cacert.pem"
AT+QSSLCFG="clientcert",1,"ufs:clientcert.pem"
AT+QSSLCFG="clientkey",1,"ufs:clientkey.pem"
Note
: Do not omit the “
ufs:
" string in the filename. If this is not included, the
certificates will not be applied properly, and an error will be thrown.
3. Specify the SSL protocol:
AT+QSSLCFG="sslversion",1,3
This command specifies that the SSL connection should use TLS1.2 protocol.
4. Set the authentication mode for the SSL connection:
AT+QSSLCFG="seclevel",1,2
This command selects “Manage server and client authentication if requested by
the remote server" mode for the SSL connection. This ensures that the
connection will use all three of the certificates during the AWS connection.