Git Product home page Git Product logo

esp8266-mqtts-w_certstore's Introduction

Adafruit IO Secure ESP8266 with CertStore

This is a little example PIO project for the ESP8266, allowing it to securely connect to the Adafruit IO MQTT servers over MQTTS, however instead of using a certificate fingerprint which is prone to expiring (often within a few months) it uses a certificate store

The code is a combination of the BearSSL certStore example and the Adafruit secure esp8266 example

It's made to work with platformIO.
The python script will have to be modified if used with Arduino (path to ar.exe needs to be updated)

To use this you need:

  • platformio with the esp8266 platform installed
  • openssl installed and on the path
  1. run the get_moz_certs.py script. It should get a bunch of .der files and put them into data/ and then combine them in a single binary
  2. run the uploadfs target pio run --target uploadfs or use the "Upload Filesystem Image" option under PROJECT TASKS -> env:d1_mini -> Platform -> Upload Filesystem Image
  3. upload the example (after filling in your secrets in secrets.hpp) pio run -target upload

esp8266-mqtts-w_certstore's People

Contributors

duckle29 avatar

Watchers

 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.