NRF9160 Certificate Provisioning failed -111 error (Connection refused)

 Hello,

I'm trying to add credential to the modem on the nrf9160. However, i keep getting a -111 error when i'm trying to connect to my server with TLS mode.

When i try to display AT%CMNG=1 command that what i get :

And here you can see the certificate i added :

When i use the https_client demo, it works well.

Parents
  • Hi,

    How are you connecting to your server (what socket options do you set, etc.)?

    Does your server do any verification of the client?

    When i try to display AT%CMNG=1 command that what i get :

    Note that %CMNG=1 only lists the credentials that exists, it doesn't read them out. To see if the CA certificate stored in the modem is the one you wrote, you must use op_code 2, read.

    Best regards,

    Didrik

Reply
  • Hi,

    How are you connecting to your server (what socket options do you set, etc.)?

    Does your server do any verification of the client?

    When i try to display AT%CMNG=1 command that what i get :

    Note that %CMNG=1 only lists the credentials that exists, it doesn't read them out. To see if the CA certificate stored in the modem is the one you wrote, you must use op_code 2, read.

    Best regards,

    Didrik

Children
Related