This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC3200: Load certificate combined with the public part of root CA

Part Number: CC3200
Other Parts Discussed in Thread: UNIFLASH

Tool/software: TI-RTOS

Hi there,

I'm developing an application based on AWS IoT SDK ported to CC3200.

In the first phase of development, I can connect to AWS IoT platform and I'm able to publish and subscribe to a specific topic.

In this phase I use 3 certificates (in DER format) generated by AWS. These certificates are stored into the flash memory. I used Uniflash tool to save the certificates into the flash.

This is the list of certificates:

  • Root CA of Server ( IoT Cloud Server ).
  • Device Private Key.
  • Device certificate.

In the second phase I use my personal root CA to sign the private key and device certificate.

In particular, the device certificate is combined with the public part of my personal root CA used to sign the device certificate and the private key.

I converted the new device certificate and private key to DER format and I stored the certificates into the flash.

Unfortunately, I receive back an error during the mqtt connection due to wrong certificates ( I think ).

Is there a specific procedure to load the device certificate combined with the public part of personal root CA?

This certificate has this structure:

-----BEGIN CERTIFICATE-----


      
      
      Device certificate



-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----



      Public part of root CA



-----END CERTIFICATE-----

Any suggestions?

Thanks for the help!