Code Monkey home page Code Monkey logo

zanussbaum / amazon-freertos-certificate-rotation Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 97.84 MB

A mini-sample on how certificate rotation can occur, using existing cloud side configurations

License: MIT License

CMake 0.78% C 74.77% C++ 14.45% Python 2.59% Assembly 2.99% Objective-C 4.10% Batchfile 0.06% Makefile 0.11% Shell 0.01% HTML 0.07% JavaScript 0.03% Go 0.05% PowerShell 0.01%
aws amazon-freertos certificate-rotation mcu iot aws-iot aws-iot-certificates aws-lambda aws-cloudformation aws-cloudwatch

amazon-freertos-certificate-rotation's Introduction

Certificate Rotation

This is a sample on how a MCU can rotate certificates, using a cloud side implementation of certificate rotation. It is built off of the Amazon FreeRTOS code.

At a high level, the device will publish to topics, which trigger AWS Lambda functions that create a new certificate and rotate the certificates for you.

The device then stores the new certificate in a buffer and overwrites the old certificate, however this is stored in volatile memory so once the device loses power, the new certificate will be gone.

Further implementations of this can use some library to overwrite the old certificate in NVM (possibly using PKCS).

To setup the cloudside, download, zip, and add the AWS Lambda Functions to an S3 bucket. Then download the cloudformation.json file and create the CloudFormation from the console.

Getting Started

For more information on Amazon FreeRTOS, refer to the Getting Started section of Amazon FreeRTOS webpage.

To directly access the Getting Started Guide for supported hardware platforms, click the corresponding link in the Supported Hardware section below.

For detailed documentation on Amazon FreeRTOS, refer to the Amazon FreeRTOS User Guide.

Supported Hardware

The following MCU boards are supported for Amazon FreeRTOS:

  1. Texas Instruments - CC3220SF-LAUNCHXL.
  2. STMicroelectronics - STM32L4 Discovery kit IoT node.
  3. NXP - LPC54018 IoT Module.
  4. Microchip - Curiosity PIC32MZEF.
  5. Espressif - ESP32-DevKitC, ESP-WROVER-KIT.
  6. Infineon - Infineon XMC4800 IoT Connectivity Kit
  7. Xilinx - Xilinx Zynq-7000 based MicroZed Industrial IoT Bundle
  8. MediaTek - MediaTek MT7697Hx Development Kit
  9. Renesas - Renesas Starter Kit+ for RX65N-2MB
  10. Cypress CYW54907 - Cypress CYW954907AEVAL1F Evaluation Kit
  11. Cypress CYW43907 - Cypress CYW943907AEVAL1F Evaluation Kit
  12. Marvell MW320 - Marvell MW320 AWS IoT Starter Kit
  13. Marvell MW322 - Marvell MW322 AWS IoT Starter Kit
  14. Nordic nRF52840 DK - nRF52840 DK Development kit
  15. Windows Simulator - To evaluate Amazon FreeRTOS without using MCU-based hardware, you can use the Windows Simulator.

amazon-freertos-certificate-rotation's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.