nRF7002 Azure IoT Hub, CA authentication Fail or TLS Connect Fail Error (-22, -116)

nRF7002 Azure IoT Hub,  CA authentication Fail or TLS Connect Fail Error (-22, -116)

What is mean?

The Azure IoT Hub library requires provisioning of the following certificates and a private key for a successful TLS connection:

  1. Baltimore CyberTrust Root Certificate - Server certificate, used to verify the server’s certificate while connecting.

  2. Public device certificate - generated by the procedures described in Creating Azure IoT Hub certificates , used by Azure IoT Hub to authenticate the device.

  3. Private key of the device.

Hello Nordic ? 

Does this guide tell you to copy/paste the Baltimore CyberTrust Root Certificate file into the ca-cert.pem file in the certs folder of the "Azure IoT Hub" sample?

So, what file should I upload to the Certificates section in Azure IoT Hub?

The MS guide tells me to upload the pem file created through rootca, but I'm confused about what to do.

Also, since the Baltimore CyberTrust Root Certificate certificate has expired, there is a guide to change it to a G2 certificate.


As of November 23, this part needs to be updated on what to do.

I've been stuck on this part for a few days.

Please provide guidance or comments.

thank you

Parents
  • Hi,

    Does this guide tell you to copy/paste the Baltimore CyberTrust Root Certificate file into the ca-cert.pem file in the certs folder of the "Azure IoT Hub" sample?

    Which guide? Do you have a link to it?

    Does this guide tell you to copy/paste the Baltimore CyberTrust Root Certificate file into the ca-cert.pem file in the certs folder of the "Azure IoT Hub" sample?

    So, what file should I upload to the Certificates section in Azure IoT Hub?

    See  nRF Cloud Access Provisioning . This is for nRF Cloud, but the certificate distribution should be the same for Azure as well.
    Do you find what you look for here?

    Also, since the Baltimore CyberTrust Root Certificate certificate has expired, there is a guide to change it to a G2 certificate.

    When i download the Baltimore CuberTrust Root Certificate, it seems like it does not expire until 2025:

    Regards,
    Sigurd Hellesvik

Reply
  • Hi,

    Does this guide tell you to copy/paste the Baltimore CyberTrust Root Certificate file into the ca-cert.pem file in the certs folder of the "Azure IoT Hub" sample?

    Which guide? Do you have a link to it?

    Does this guide tell you to copy/paste the Baltimore CyberTrust Root Certificate file into the ca-cert.pem file in the certs folder of the "Azure IoT Hub" sample?

    So, what file should I upload to the Certificates section in Azure IoT Hub?

    See  nRF Cloud Access Provisioning . This is for nRF Cloud, but the certificate distribution should be the same for Azure as well.
    Do you find what you look for here?

    Also, since the Baltimore CyberTrust Root Certificate certificate has expired, there is a guide to change it to a G2 certificate.

    When i download the Baltimore CuberTrust Root Certificate, it seems like it does not expire until 2025:

    Regards,
    Sigurd Hellesvik

Children
No Data
Related