Device onboarding: "certificate already exists"

Hi,

We have onboarded several hundred nrRF9151 devices using the nRF Cloud "bulk onboard" UI (preconnect onboarding using device_credentials_installer.py). Generally, this works fine.

However, for two devices we are getting an error during onboarding: "certificate already exists". But the respective devices (UUID) are not present in nRF Cloud in any of our teams.

We're not sure why this is happening and how to resolve the situation and finish onboarding the two devices.

Any advice is appreciated.

Thanks

Parents Reply Children
  • Thanks Terrence,

    I will troubleshoot this further.

    -M

  • Hi,

    It seems that those two certificates were already registered in our system. For some reason they were orphaned, so no device was attached to them.

    I removed both of those certificates which seems to be from some earlier onboarding session. You should be good to go to onboard these two devices now.

    In case you still have issues, please reopen this ticket.

    Thank you for using nRF Cloud.

    Best regards,

    Markku Lehto

  • Markku, 

    we now have more devices where this is happening. What we do is:

    1. Onboard the devices in nRF Cloud teamA

    2. Test and configure the devices in teamA

    3. Delete the devices from teamA

    4. Onboard the devices in nRF Cloud teamB <-- this is where the problem occurs

    It seems, in step 3, for a certain percentage of devices the certificates are not cleanly removed from the system.

    Can you please remove the certificates for the following devices. Also, please let us know how we can avoid this issue going forward.

    Thanks!

    50343956-3037-4123-8037-0f1128bba843

    50343956-3037-4693-8090-0c16d6b8bf49

    50343956-3037-43c5-8029-001906c2202a

    5034474b-3731-4fb9-8020-0713b6b5484e

    50343956-3037-411c-8009-091efaf720a7

    50343956-3037-4d66-808a-16273b09d886

    50343956-3037-48c9-8098-211d15f9aff1

    50343956-3037-4563-80df-07227ae0c6d6

    50343956-3037-489d-80a0-0a155ddbaf74

  • Hi Terrence,

    We need to investigate this with the team. What is the time interval between step 3 and step 4? Did you see any errors? Steps 1 and 4 were done using bulk onboarding with csv, did you see any errors? Bulk onboarding is asynchronous call so it might take some time to complete. Could you estimate how many devices were onboarded at the same time?

    In the meanwhile, you need to send me all these certificates which were reported as a duplicate.

    Thanks,

    -M

  • Time between step 3 and 4: I believe at least several hours, if not days. 

    I don't think we saw any errors during step 3. First error was in step 4, for a subset of devices.

    I believe we onboarded several dozen devices in step 4. 

    Certs attached.

    Thankscerts2.zip 

Related