Open sileeee opened 2 years ago
@imbyungjun
How about support testing option for TLS version? It will be applied to ngrinder http client as below. https://www.baeldung.com/apache-httpclient-tls
If the protocol is HTTP/1.1
, HTTP client will handle TLS with BasicClientTlsStrategy,
and if the protocol is HTTP/2.0
, HTTP client will handle TLS with H2ClientTlsStrategy.
Both of them filters weak TLS protocol version TLSv1
and TLSv1.1
by using TLS.excludeWeak()
.
I don't understand that nGrinder HTTP client sends a request with TLSv1
same exception as this, how to fix it , please
@imbyungjun plz, check this.
This error is not a bug or malfunction of nGrinder.
To handle this error, check this question for details. And also see these links.
Simply, the first thing you can do is upgrade your JDK. And the next thing is add your server's cert to client's trust store.
1. Describe the bug 🐞
SSLHandshakeException occurred when requesting HTTPS POST. Even after updating ngrinder to the latest version, the error status remained. Our server does not support below TLS1.2, but request packet from HTTP Client exported from ngrinder seems to send a request to TLSv1 first. I would like to send a request by fixing the TLS version of HTTP Client to 1.2.
2. Reproduction steps
java.lang.System.setProperty("https.protocols", "TLSv1.2");
to the script.3. Environment
4. Screenshots