-
Notifications
You must be signed in to change notification settings - Fork 45
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
How to run with TLS? #7
Comments
Hi @gdhgdhgdh! |
Thank you :) Ahh I did read through many Github issues and didn't see that one .... Yes please if you could upload the test certs, then hopefully there will be a clue in there as to how I can reformat our own certs. I knew the |
@ioolkos @gdhgdhgdh anyone got luck with tls? I try to connect to hivemq without certificates atm, so setting transport=t(ssl, [t(verify, "verify_none")]) but no connection is possible... |
I haven't used vernemq or the vmq_mzbench since mid 2017, but here's what scrappy info I kept...
You should end up with output like this that you can put into a
or
and then use a bench descrption like:
Hope that helps! |
@gdhgdhgdh public_key:pem_decode(File). gives me just "[], hmmm... |
i got it somehow running just by including vertificates from gist (also allows to use web-based ui) include_resource(cacertsfile, "https://gist.githubusercontent.com/ioolkos/1e6e0107b961caf910a0deb61a7e4a23/raw/041e3c747d75880d0811409c0955ee3f1bfc0784/erlang_ca.erl", erlang) |
Hello :)
Thank you for this software - is there a way to connect to port 8883 and present a client-side TLS certificate when running VMQ load tests?
I can see that the
connect
state is linked to that record invmq_commons
: https://github.com/erlio/vmq_commons/blob/master/src/gen_emqtt.erl#L53-L75 and I see thessl:socket
as a type ofsock
but I don't get how I can bring a TLS client certificate into the mix :/The text was updated successfully, but these errors were encountered: