[英]handshake_failure in Jmeter4
Tried many ways, still got handshake_failure
in JMeter.尝试了很多方法,仍然在JMeter中出现handshake_failure
。
error still show handshake_failure
错误仍然显示handshake_failure
If you run your JMeter test in command-line non-GUI mode the SSL Manager will not work, you will need to set javax.net.ssl.keyStore
and javax.net.ssl.keyStorePassword
system properties , see How to Set Your JMeter Load Test to Use Client Side Certificates article for more information.如果您在命令行非 GUI 模式下运行 JMeter 测试,则 SSL 管理器将无法工作,您需要设置javax.net.ssl.keyStore
和javax.net.ssl.keyStorePassword
系统属性,请参阅如何设置 JMeter负载测试以使用客户端证书文章了解更多信息。
Also "from Chrome" you're getting server certificate , for two-way SSL handshake you need to get the client certificate .同样“来自 Chrome”,您将获得服务器证书,对于双向 SSL 握手,您需要获得客户端证书。
If this doesn't help, handshake failure may have different causes, for example:如果这没有帮助,握手失败可能有不同的原因,例如:
https.default.protocol
property您使用的是不兼容的 SSL 版本,请检查https.default.protocol
属性https.socket.protocols
property您使用的是不兼容的 SSL 协议,请检查https.socket.protocols
属性You can enable SSL debugging by adding the next line to system.properties file:您可以通过将下一行添加到system.properties文件来启用 SSL 调试:
javax.net.debug=ssl
and compare the handshake with the OpenSSL tool output并将握手与OpenSSL 工具输出进行比较
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.