This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Provision certificates from the certificates.h is not setting the #define

I have just switched from SDK version 1.0.0 to SDK 1.1.0 and I am using the MQTT FOTA example

I had the example project working when I was using v1.0.0 of the SDK

I have checked "Provision certificates from the certificates.h file" and clicked the configure button

but in main.c the define at line 28 has not been set so the certificates .h file is not included.

I notice that the name of the define in the menu settings is <PROVISION_CERTIFICATES>

and in the code on line 28 it is CONFIG_PROVISION_CERTIFICATES

Parents Reply
  • hmichel said:
    I see the delete inbuilt keys have a result code of zero. Is that ok?

     Yes, that means that it was successfully able to delete the certificates.

     

    hmichel said:
    When I try to use new certificates from AWS in certificates.h I get a -45 error when I try to connect to AWS. So it seems that the default certificates are not getting overwritten at run time. 

     What sec_tag are you providing to the socket?

    And is that sec_tag dependent on some configuration options?

Children
Related