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

NRF9160 AWS FOTA over HTTPS

I have been reviewing this merge: https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1982 and it appears that there is capability in the fota example to enable https/tls download for the aws fota example. It appears that DOWNLOAD_CLIENT_TLS needs to be set in the config, but when I set it in the KConfig it failed to build. I am using CLI, not Segger. 

My guess is that I am setting this in the wrong place but my attempt at backtracking this is failing a bit. Was hoping that someone could chime in with where I need to enable the TLS. 

  • I am planning on using S3 as the bin source, so the sample cert that was setup should suffice (from what I can tell).
  • I have successfully used the AWS FOTA example over http, but https is required for the project. 


Apologies for the noob questions, just trying to sort this out. 

Parents
  • Well, I hope it was not as easy as I think it was... 

    I just set the job document to https and submitted the job via the AWS console. The sample app grabbed the update and installed it, reflecting my updates. 

    I am just trying to check logs now to see if it actually downloaded over https.... 

    I did this based upon the comment in the merge previously mentioned, excerpt is:

    "I can probably add the protocol parsing into this PR for aws_fota library then it's only enabled if the user has specified in the job document that he wants to use https"

Reply
  • Well, I hope it was not as easy as I think it was... 

    I just set the job document to https and submitted the job via the AWS console. The sample app grabbed the update and installed it, reflecting my updates. 

    I am just trying to check logs now to see if it actually downloaded over https.... 

    I did this based upon the comment in the merge previously mentioned, excerpt is:

    "I can probably add the protocol parsing into this PR for aws_fota library then it's only enabled if the user has specified in the job document that he wants to use https"

Children
Related