jmeter 5 cannot use key store with http sample while jmeter 4 can
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**leiyang** ([Bug 65440](https://bz.apache.org/bugzilla//show_bug.cgi?id=65440&redirect=false)):
I want to send https request with client certificate.
I use key store configuraton with my pkcs12 key.
In jmeter 5.4.1 with jdk 11, i can see in the log key successfully loaded, but https request does not use the key at all.
I tried same steps and configurations in jmeter 4.0,it worked.
I've attached both jmeter version plans.
I have posted all detailed information in stackoverflow question:
https://stackoverflow.com/questions/68288877/jmeter-5-set-client-tls-certificate-not-work
Created attachment [jmeter4.jmx](https://apache.github.io/jmeter-bugzilla-attachments/40/65440/37947/jmeter4.jmx): jmeter4, working
jmeter4.jmx
````xml
false
true
false
cert
per-tool001
=
cert
2
True
0
continue
false
2
1
1
false
false
${cert}
=
true
location
leiyang.icu
5001
https
/home
POST
true
false
false
false
false
client_credentials
=
true
grant_type
false
per-tool001
=
true
client_id
false
access:ark
=
true
scope
oauth-qa-arkauth-dev.onecloud.cerenceapi.com
443
https
/oauth2/mtls/token
POST
true
false
false
false
false
saveConfig
true
true
true
true
true
true
true
true
false
true
true
false
false
false
true
false
false
false
true
0
true
true
true
true
true
````
Severity: normal
OS: All
Contributor guide
Assessment
This issue has not been assessed yet.