You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2014/08/08 02:52:56 UTC

Re: HTTPS Test Script Recorder certificate problems

On 25 July 2014 20:30, Doug Breaux <do...@gmail.com> wrote:
> 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

That might be the problem - it's possible that the keytool utility
works differently.
what does keytool --help produce?

Can you try using Oracle Java 7?

Is IBM Java 7 available for download?

> 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

Unfortunately the actual command line is not displayed, so it's tricky
to reproduce.

The command-line includes private data so it would need redacting anyway.

However you might be able to write a wrapper script or exe that writes
its parameters to a file and then calls the real keytool.
The wrapper needs to be called keytool as well, but its directory can
be passed to JMeter using the command-line parameter:

-Dkeytool.directory=/path/to/keytool

>         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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: HTTPS Test Script Recorder certificate problems

Posted by sebb <se...@gmail.com>.
On 8 August 2014 07:51, A D <vo...@hotmail.com> wrote:
> Use Java 6 instead of Java 7 with "sudo update-alternatives --config java". This worked for me on.

The problem is that keytool in Java 6 may not include all the features
JMeter needs.

>> Date: Fri, 8 Aug 2014 01:52:56 +0100
>> Subject: Re: HTTPS Test Script Recorder certificate problems
>> From: sebbaz@gmail.com
>> To: user@jmeter.apache.org
>>
>> On 25 July 2014 20:30, Doug Breaux <do...@gmail.com> wrote:
>> > 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
>>
>> That might be the problem - it's possible that the keytool utility
>> works differently.
>> what does keytool --help produce?
>>
>> Can you try using Oracle Java 7?
>>
>> Is IBM Java 7 available for download?
>>
>> > 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
>>
>> Unfortunately the actual command line is not displayed, so it's tricky
>> to reproduce.
>>
>> The command-line includes private data so it would need redacting anyway.
>>
>> However you might be able to write a wrapper script or exe that writes
>> its parameters to a file and then calls the real keytool.
>> The wrapper needs to be called keytool as well, but its directory can
>> be passed to JMeter using the command-line parameter:
>>
>> -Dkeytool.directory=/path/to/keytool
>>
>> >         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
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> > For additional commands, e-mail: user-help@jmeter.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>> For additional commands, e-mail: user-help@jmeter.apache.org
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: HTTPS Test Script Recorder certificate problems

Posted by Saurabh Gupta <st...@gmail.com>.
Hi,

I would suggest you to properly set the JAVA path in environment variable's
section.


On Fri, Aug 8, 2014 at 7:51 AM, A D <vo...@hotmail.com> wrote:

> Use Java 6 instead of Java 7 with "sudo update-alternatives --config
> java". This worked for me on.
> > Date: Fri, 8 Aug 2014 01:52:56 +0100
> > Subject: Re: HTTPS Test Script Recorder certificate problems
> > From: sebbaz@gmail.com
> > To: user@jmeter.apache.org
> >
> > On 25 July 2014 20:30, Doug Breaux <do...@gmail.com> wrote:
> > > 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
> >
> > That might be the problem - it's possible that the keytool utility
> > works differently.
> > what does keytool --help produce?
> >
> > Can you try using Oracle Java 7?
> >
> > Is IBM Java 7 available for download?
> >
> > > 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
> >
> > Unfortunately the actual command line is not displayed, so it's tricky
> > to reproduce.
> >
> > The command-line includes private data so it would need redacting anyway.
> >
> > However you might be able to write a wrapper script or exe that writes
> > its parameters to a file and then calls the real keytool.
> > The wrapper needs to be called keytool as well, but its directory can
> > be passed to JMeter using the command-line parameter:
> >
> > -Dkeytool.directory=/path/to/keytool
> >
> > >         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
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > > For additional commands, e-mail: user-help@jmeter.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
>
>



-- 
Regards,
Saurabh

RE: HTTPS Test Script Recorder certificate problems

Posted by A D <vo...@hotmail.com>.
Use Java 6 instead of Java 7 with "sudo update-alternatives --config java". This worked for me on.
> Date: Fri, 8 Aug 2014 01:52:56 +0100
> Subject: Re: HTTPS Test Script Recorder certificate problems
> From: sebbaz@gmail.com
> To: user@jmeter.apache.org
> 
> On 25 July 2014 20:30, Doug Breaux <do...@gmail.com> wrote:
> > 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
> 
> That might be the problem - it's possible that the keytool utility
> works differently.
> what does keytool --help produce?
> 
> Can you try using Oracle Java 7?
> 
> Is IBM Java 7 available for download?
> 
> > 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
> 
> Unfortunately the actual command line is not displayed, so it's tricky
> to reproduce.
> 
> The command-line includes private data so it would need redacting anyway.
> 
> However you might be able to write a wrapper script or exe that writes
> its parameters to a file and then calls the real keytool.
> The wrapper needs to be called keytool as well, but its directory can
> be passed to JMeter using the command-line parameter:
> 
> -Dkeytool.directory=/path/to/keytool
> 
> >         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
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
> 
 		 	   		  

Re: HTTPS Test Script Recorder certificate problems

Posted by Doug Breaux <do...@gmail.com>.
On 8/7/2014 7:52 PM, sebb wrote:
> On 25 July 2014 20:30, Doug Breaux <do...@gmail.com> wrote:

>> I'm Java 7, although IBM Java 7:
>> http://stackoverflow.com/questions/21053346/apachejmetertemporaryrootca-crt-not-generated
>
> That might be the problem - it's possible that the keytool utility
> works differently.
> what does keytool --help produce?

"\Program Files (x86)\IBM\Java70"\bin\keytool -help
Key and Certificate Management Tool

Commands:

  -certreq            Generates a certificate request
  -changealias        Changes an entry's alias
  -delete             Deletes an entry
  -exportcert         Exports certificate
  -exportseckey       Export a batch of secret keys
  -genkeypair         Generates a key pair
  -genseckey          Generates a secret key
  -gencert            Generates certificate from a certificate request
  -importcert         Imports a certificate or a certificate chain
  -importkeystore     Imports one or all entries from another keystore
  -importseckey       Import a batch of secret keys
  -keypasswd          Changes the key password of an entry
  -list               Lists entries in a keystore
  -printcert          Prints the content of a certificate
  -printcertreq       Prints the content of a certificate request
  -printcrl           Prints the content of a CRL file
  -storepasswd        Changes the store password of a keystore

Use "keytool -command_name -help" for usage of command_name

> Can you try using Oracle Java 7?

I could, yes, but don't have it installed at the moment. However, I 
found another version of Java installed with some product (can't 
remember which), and it didn't exhibit this problem. Once the cert was 
created, IBM Java 7 is using it fine.

> Is IBM Java 7 available for download?

For some platforms (e.g. Linux, yes). For Windows, not by itself (part 
of the licensing agreement with Sun/Oracle), but it is available in some 
free products. See http://www.ibm.com/developerworks/java/jdk/

Thanks,
Doug


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org