Tried many ways, still got handshake_failure
in JMeter.
error still show 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.
Also "from Chrome" you're getting server certificate , for two-way SSL handshake you need to get the client certificate .
If this doesn't help, handshake failure may have different causes, for example:
https.default.protocol
propertyhttps.socket.protocols
propertyYou can enable SSL debugging by adding the next line to system.properties file:
javax.net.debug=ssl
and compare the handshake with the OpenSSL tool output
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.