Go to file
James Pace deb1cef30f More refactoring. 2022-03-24 01:40:22 +00:00
examples Mass refactor. Clang-format. Start adding tests. Use FetchContent. 2022-03-24 00:20:21 +00:00
include/j7s-plugin More refactoring. 2022-03-24 01:40:22 +00:00
src More refactoring. 2022-03-24 01:40:22 +00:00
test More refactoring. 2022-03-24 01:40:22 +00:00
.clang-format Mass refactor. Clang-format. Start adding tests. Use FetchContent. 2022-03-24 00:20:21 +00:00
.gitignore Initial iteration of plugin. 2021-11-08 00:47:39 +00:00
CMakeLists.txt Mass refactor. Clang-format. Start adding tests. Use FetchContent. 2022-03-24 00:20:21 +00:00
LICENSE Documentation update. 2021-11-20 15:05:32 +00:00
README.md More refactoring. 2022-03-24 01:40:22 +00:00
external-deps.cmake Mass refactor. Clang-format. Start adding tests. Use FetchContent. 2022-03-24 00:20:21 +00:00

README.md

j7s-mosquitto-plugin

Authentication using JWTs for the mosquitto mqtt broker.

Dependencies

sudo apt install mosquitto-dev g++ cmake libmosquitto-dev mosquitto-clients openssl libssl-dev googletest

Generating offline keys

openssl genpkey -algorithm RSA -out rsa_private.pem -pkeyopt rsa_keygen_bits:2048
openssl rsa -in rsa_private.pem -pubout -out rsa_public.pem

Converting Client Keys to Format for Browser

openssl pkcs12 -export -out client.p12 -inkey client-key.pem -in -client.pem -certfile ca.pem