Go to file
James Pace b7cd1ce78e Add deployment implementation. 2022-08-09 21:56:28 -04:00
debian Add deployment implementation. 2022-08-09 21:56:28 -04:00
examples Connect to real broker. Actually use client cert... 2022-04-02 00:48:10 +00:00
include/j7s-plugin Handle null c strings correctly. 2022-04-15 01:50:26 +00:00
playbooks Add deployment implementation. 2022-08-09 21:56:28 -04:00
src Handle null c strings correctly. 2022-04-15 01:50:26 +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
Jenkinsfile Add deployment implementation. 2022-08-09 21:56:28 -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