Thingy:91

Provisioning the nRF Cloud certificate

After retrieving the certificate from nRF Cloud, you must provision it to your Nordic Thingy:91™.

Note: The application firmware on the Nordic Thingy:91 must support long AT commands up to 3 kB to provision the certificate. If you updated the application firmware as described, this requirement is fulfilled.

Complete the following steps to provision the certificate:

  1. If you have already inserted the Subscriber Identity Module (SIM) card into your Nordic Thingy:91, remove it before you continue.
  2. Connect Nordic Thingy:91 to the computer with a micro-USB cable, and turn it on.
  3. Click Terminal in the navigation bar to switch to the terminal view.
  4. Enter AT+CFUN=4 in the AT command text field and click Send.
    This AT command puts the modem to offline state.
  5. Enter AT+CFUN? in the AT command text field and click Send.
    This AT command returns the state of the modem.
    The command should return +CFUN: 4, which indicates that the modem is in offline state. If it returns a different value, repeat the previous step.
  6. Click Certificate manager in the navigation bar to switch to the certificate manager view.
  7. Click Load from JSON and select the *.cert.json file that you downloaded from nRF Cloud.
    You can also drag and drop the file onto the GUI.
  8. Ensure that the Security tag is set to 16842753, which is the security tag for nRF Cloud credentials.
  9. Click Update certificates.
    The log message "Certificate update completed" indicates that the certificate was provisioned successfully.
    If you encounter any errors, switch to the terminal view and check the output of the AT commands that were sent to the Nordic Thingy:91 modem.
Note: If you had connected your Nordic Thingy:91 to nRF Cloud before, you must delete the device there after provisioning the certificate. To do so, open the entry for your device from the Devices view, click Configure, and select Delete Device. Then, add the Nordic Thingy:91 again as described in Getting started with Thingy:91.