Go to file
James Pace fb34bc2e19 Cleanup logging. Readinging implies being able to subscribe. 2022-04-09 21:24:43 +00:00
debian Cleanup logging. Readinging implies being able to subscribe. 2022-04-09 21:24:43 +00:00
examples Connect to real broker. Actually use client cert... 2022-04-02 00:48:10 +00:00
include/j7s-plugin Drop the expiration time stuff. 2022-03-25 03:16:31 +00:00
src Cleanup logging. Readinging implies being able to subscribe. 2022-04-09 21:24:43 +00:00
test Use ES256 instead of RSA256. 2022-03-27 21:12:42 +00:00
.clang-format Add tests. Cleanup formatting. 2022-03-25 03:08:09 +00:00
.gitignore Initial iteration of plugin. 2021-11-08 00:47:39 +00:00
CMakeLists.txt Add packaging. 2022-03-26 20:10:14 -04:00
Dockerfile Add Dockerfile. 2022-03-26 20:38:37 -04:00
LICENSE Documentation update. 2021-11-20 15:05:32 +00:00
README.md Use ES256 instead of RSA256. 2022-03-27 21:12:42 +00:00
external-deps.cmake Add packaging. 2022-03-26 20:10:14 -04: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 libyaml-cpp-dev

Generating offline keys

openssl ecparam -genkey -name prime256v1 -noout -out ec_private.pem
openssl ec -in ec_private.pem -pubout -out ec_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