如何关闭ssl校验,或者忽略ssl证书错误
yujinguo0930 opened this issue · 3 comments
使用mqttx的时候,有个配置,ssl 安全,关闭后可以忽略证书错误,请问在jmeter插件中可以配置吗,或者类似ws的Ignore SSL certificate errors
已经确定证书中CN有问题,会导致无法校验通过,从而无法建连
错误如下:
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionFailedException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching xxx.com found
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching xxx.com found
please try without checking 'Dual SSL authentication'
The plugin actually trusts all certificates (for performance purpose) from server side.
If 'Dual SSL authentication' is not checked, the plugin will not send the certificate to the server. So if the broker side requires a certificate from client, it fails.