emqx / mqtt-jmeter

MQTT JMeter Plugin
https://www.emqx.com/en
Apache License 2.0
445 stars 194 forks source link

SSL certificate authentication #61

Closed j1122 closed 5 years ago

j1122 commented 5 years ago

For Protocols:SSL not Dual SSL authentication, how to configure the jks location?

Was getting "Failed to establish Connection org.fusesource.mqtt.client.CallbackConnection@6f7fcb66" error when try to connect to amq-broker-7.2.2 via SSL connection.

jinfahua commented 5 years ago

You don't need to configure JKS, the client accept any certification issued from server. Please check other authentication settings of MQTT connection.

j1122 commented 5 years ago

What if the client cert is a chained cert like root ca->intermediate ca->client cert Will this caused any issue? My amq-broker setup do not have any other authentication settings beside certification authentication. jm jm1

jinfahua commented 5 years ago

Could you please attach the jmeter.log to this issue? The file is under the folder where you execute the jmeter.

j1122 commented 5 years ago

Attached please find the log jmeter.log conn

j1122 commented 5 years ago

Sorry, my bad, the service is actually listenning on another interface, so I cant access with the configured destination.