https://bz.apache.org/bugzilla/show_bug.cgi?id=64955

            Bug ID: 64955
           Summary: Keystore password not reset on reload
           Product: JMeter
           Version: 5.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: micha...@apache.org
  Target Milestone: JMETER_5.4

* Create a testplan with mutual TLS authentication
* Load a PKCS12 keystore through the SSL Manager
* Start the test and supply the requested password
* Load another store thourhg the SSL Manager
* No password dialog pops up. Log output says: 
020-12-04 09:21:48,307 INFO o.a.j.u.SSLManager: KeyStore created OK
2020-12-04 09:21:48,345 ERROR o.a.j.u.SSLManager: Problem loading keystore:
keystore password was incorrect
java.io.IOException: keystore password was incorrect
        at
sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2078)
~[?:1.8.0_275]
        at java.security.KeyStore.load(KeyStore.java:1445) ~[?:1.8.0_275]
        at
org.apache.jmeter.util.keystore.JmeterKeyStore.load(JmeterKeyStore.java:108)
~[ApacheJMeter_core.jar:5.3]
        at org.apache.jmeter.util.SSLManager.getKeyStor...

Obviously the password cache is not reset when a new keystore is loaded. I am
forced to restart JMeter and load the other keystore.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to