Unable to Write TLS credential during JITP on custom nRF9160 board

Hello everyone

I created a custom board with reference to thingy:91 for the antenna part. The board is 50x50 mm in size.

I tested the board and there are no problems with the power supply, SIM, or sending AT commands. The peripherals work correctly and I tested my own program for UART communication. The LTE modem works, connecting after about a minute.

I use a J-Link EDU debugger for debugging.

The problem I am encountering is that I cannot insert the CA certificate into the nRF9160SiP. Once I have downloaded the JSON certificate from nRF Cloud, I use the Cellular Monitor application.


10:16:22.453 Updating CA certificate...
10:16:22.453 Unable to Write TLS credential
10:16:22.453 Updating client certificate...
10:16:22.453 Unable to Write TLS credential
10:16:22.453 Updating private key...
10:16:22.453 Unable to Write TLS credential
10:16:22.453 Certificate update completed

I can't proceed. Before uploading the file, I ran the AT+CFUN=4 command and verified that it was indeed in that state.

Parents Reply Children
  • I can connect to it via the nRF Serial Terminal and I use manually the AT commands, like the last comment.


    I tried nRF Cloud utilis but I'm stack on this part:

    C:\Users\shadi\OneDrive - Berner Fachhochschule\Desktop\utils\src\nrfcloud_utils>python device_credentials_installer.py --ca self_*_ca.pem --ca-key self_*_prv.pem --id-str nrf- --id-imei -s -d --verify --coap --port COM10

    INFO Disabling LTE and GNSS...
    ERROR Unable to communicate


  • So if you are sure the certificates are correct, then I would assume there is something wrong with registering your device to nrfcloud. I will ask the nrf cloud team to provide some input.

  • Hi I tried another type of approach. 
    I follow step of nRF Cloud Utils and the help of this case.

    I write the data on the nRF9160, now I tried to use my application to request cellular localization.

    I don't know but now the nRF9160 has difficult to search connection. Before I implemented the files it can connect to the antenna. 

    The unique proble I can se is a Warning by the application utils:

    INFO Verifying credentials...
    INFO Verifying CA Cert
    INFO Verifying Client Cert
    INFO Verifying Private Key
    WARNING Private Key exists, SHA not verified
    INFO Credential verification: PASS
    INFO Saving nRF Cloud device onboarding CSV file onboard.csv...
    INFO Onboarding CSV file saved, row count: 1



    nRF9160DKTrackerv2.0.zip

Related