Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

HTTPS Test Script Recorder certificate problems

$
0
0
I've updated my PATH to include keytool:
https://wiki.apache.org/jmeter/TestRecording210

I've deleted the proxyserver.jks file:
http://stackoverflow.com/questions/21294354/apache-jmeter-not-generating-apachejmetertemporaryrootca-crt-for-https-recording

I'm Java 7, although IBM Java 7:
http://stackoverflow.com/questions/21053346/apachejmetertemporaryrootca-crt-not-generated

Now I get this error when starting the recorder:
2014/07/25 14:28:40 WARN - jmeter.protocol.http.proxy.ProxyControl:
Could not open/read key store
C:\java\apache-jmeter-2.11\bin\proxyserver.jks (The system cannot find
the file specified.)
2014/07/25 14:28:40 INFO - jmeter.protocol.http.proxy.ProxyControl:
Creating Proxy CA in C:\java\apache-jmeter-2.11\bin\proxyserver.jks
2014/07/25 14:28:44 ERROR - jmeter.protocol.http.proxy.ProxyControl:
Could not initialise key store java.io.IOException: Command failed, code: 1
keytool error (likely untranslated):
java.security.cert.CertificateException: Fail to parse input stream

at org.apache.jorphan.exec.KeyToolUtils.keytool(KeyToolUtils.java:376)
at
org.apache.jorphan.exec.KeyToolUtils.generateProxyCA(KeyToolUtils.java:245)
at
org.apache.jmeter.protocol.http.proxy.ProxyControl.initDynamicKeyStore(ProxyControl.java:1281)
at
org.apache.jmeter.protocol.http.proxy.ProxyControl.initKeyStore(ProxyControl.java:1208)
at
org.apache.jmeter.protocol.http.proxy.ProxyControl.startProxy(ProxyControl.java:434)
at
org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.startProxy(ProxyControlGui.java:485)
at
org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.actionPerformed(ProxyControlGui.java:370)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2029)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2352)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:413)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:270)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:263)
at java.awt.Component.processMouseEvent(Component.java:6520)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3331)
at java.awt.Component.processEvent(Component.java:6285)
at java.awt.Container.processEvent(Container.java:2240)
at java.awt.Component.dispatchEventImpl(Component.java:4876)
at java.awt.Container.dispatchEventImpl(Container.java:2298)
at java.awt.Component.dispatchEvent(Component.java:4702)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4843)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4503)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4433)
at java.awt.Container.dispatchEventImpl(Container.java:2284)
at java.awt.Window.dispatchEventImpl(Window.java:2730)
at java.awt.Component.dispatchEvent(Component.java:4702)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
at java.awt.EventQueue.access$200(EventQueue.java:114)
at java.awt.EventQueue$3.run(EventQueue.java:705)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(AccessController.java:300)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:98)
at java.awt.EventQueue$4.run(EventQueue.java:719)
at java.awt.EventQueue$4.run(EventQueue.java:717)
at java.security.AccessController.doPrivileged(AccessController.java:300)
at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:253)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:172)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:102)

Anybody have ideas where to go next?

Thanks,
Doug

Viewing all articles
Browse latest Browse all 5648

Trending Articles