DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30741>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30741 JMeter does not prompt for cert passwords Summary: JMeter does not prompt for cert passwords Product: JMeter Version: 1.9.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: Main AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] As we've recently migrated from Win NT to XP we've found a problem in JMeter when using SSL and client certs. Under NT when we selected a certificate using the SSL Manager JMeter would prompt us for the password to decrypt the contents of the cert. Under XP this no longer occurs and we get this stack trace in the jmeter.log file 08/16/2004 11:57:49 AM INFO - jmeter.JMeter: Version 1.9.1 08/16/2004 11:58:15 AM INFO - jmeter.util: KeyStore Type: PKCS 12 08/16/2004 11:58:15 AM ERROR - jmeter.util: Couldn't load keystore java.io.IOException: failed to decrypt safe contents entry at com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineLoad(DashoA6275) at java.security.KeyStore.load(KeyStore.java:652) at org.apache.jmeter.util.keystore.DefaultKeyStore.load (DefaultKeyStore.java:84) at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:206) at org.apache.jmeter.util.JsseSSLManager.getContext (JsseSSLManager.java:208) at org.apache.jmeter.util.JsseSSLManager.<init> (JsseSSLManager.java:136) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:318) at org.apache.jmeter.gui.action.SSLManagerCommand.sslManager (SSLManagerCommand.java:152) at org.apache.jmeter.gui.action.SSLManagerCommand.doAction (SSLManagerCommand.java:107) at org.apache.jmeter.gui.action.ActionRouter.performAction (ActionRouter.java:118) at org.apache.jmeter.gui.action.ActionRouter.access$000 (ActionRouter.java:80) at org.apache.jmeter.gui.action.ActionRouter$1.run (ActionRouter.java:99) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:448) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) 08/16/2004 11:58:15 AM INFO - jmeter.util: JmeterKeyStore Location: C:\data\certificates\prod test\DXDVM1.p12 08/16/2004 11:58:15 AM INFO - jmeter.util: JmeterKeyStore type: class org.apache.jmeter.util.keystore.DefaultKeyStore 08/16/2004 11:58:15 AM INFO - jmeter.util: class org.apache.jmeter.util.keystore.DefaultKeyStore 08/16/2004 11:58:15 AM INFO - jmeter.util: KeyStore Type: JKS 08/16/2004 11:58:15 AM INFO - jmeter.util: TrustStore Location: 08/16/2004 11:58:15 AM INFO - jmeter.util: TrustStore type: class org.apache.jmeter.util.keystore.DefaultKeyStore 08/16/2004 11:58:15 AM INFO - jmeter.util: Default Cipher: SSL_RSA_WITH_RC4_128_MD5 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_RSA_WITH_RC4_128_MD5 08/16/2004 11:58:15 AM INFO - jmeter.util: Default Cipher: SSL_RSA_WITH_RC4_128_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_RSA_WITH_RC4_128_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Default Cipher: SSL_RSA_WITH_3DES_EDE_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_RSA_WITH_3DES_EDE_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Default Cipher: SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Default Cipher: SSL_RSA_WITH_DES_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_RSA_WITH_DES_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Default Cipher: SSL_DHE_DSS_WITH_DES_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_DHE_DSS_WITH_DES_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Default Cipher: SSL_RSA_EXPORT_WITH_RC4_40_MD5 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_RSA_EXPORT_WITH_RC4_40_MD5 08/16/2004 11:58:15 AM INFO - jmeter.util: Default Cipher: SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_RSA_WITH_NULL_MD5 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_RSA_WITH_NULL_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_DH_anon_WITH_RC4_128_MD5 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_DH_anon_WITH_3DES_EDE_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_DH_anon_WITH_DES_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_DH_anon_EXPORT_WITH_RC4_40_MD5 08/16/2004 11:58:15 AM INFO - jmeter.util: Supported Cipher: SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA 08/16/2004 11:58:15 AM INFO - jmeter.util: JsseSSLManager installed We've found that by setting the value of the javax.net.ssl.keyStorePassword property in the jmeter.properties file that this allows JMeter to decrypt the cert but we have many certs with different passwords so this becomes painful very quickly. Any ideas would be appreciated Thanks Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
