-
-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VerneMQ HTTPs support #2265
Comments
@SameerTi In case you're looking to integrate into a HTTP backend, I think you're better off using the WebHooks plugin. (which also supports HTTPS). 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Thanks @ioolkos for Quick response. |
@SameerTi I just noticed that some edits on the doc for 1.12.3 were not merged downstream, so some options regarding HTTPS are missing in the WebHooks docs for newer releases. 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
FWIW Lua also supports https out-of-the-box (not suggesting it is a better option than the webhooks plugin
|
Hi @mths1 Thanks, |
Hi @ioolkos plugins.vmq_diversity = on |
@SameerTi you can run So, there's 2 things you need to do:
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Hi @ioolkos Also, as @mths1 mentioned earlier, that "Lua also supports https out-of-the-box...." Could you please share any examples of "https" usage inside Lua plugin script where it's required to configure certificates, keyStore etc.? That would be very helpful". Lua gives us options of receiving a response and apply some custom logic using Lua scripts. |
@SameerTi as mentioned before, the load order of plugins should be determined by the order you have them in the 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Hi @mths1 , |
@SameerTi : As far as I can tell, it is currently not possible to add a ca or somethine to the diversity plugin. Webhook has support. I can see two use cases: certificate pinning and self-signed certificates. Adding a configuration option to both plugins to specify a ca wouldn't be too hard. @ioolkos : What do you think? |
Regarding 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Hi,
According to the Document below, VerneMQ has HTTP and Json Client Libraries
https://docs.vernemq.com/plugin-development/luaplugins#http-and-json-client-libraries
My Question is, does it support https too?
If so could you please share any example or share how can we configure certificates...etc?
Examples of "https" call from lua script of VQM diversity!?
Regards,
Sameer Tiwari
The text was updated successfully, but these errors were encountered: