Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 17029 invoked from network); 15 Nov 2004 19:03:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Nov 2004 19:03:55 -0000 Received: (qmail 24806 invoked by uid 500); 15 Nov 2004 19:03:53 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 24782 invoked by uid 500); 15 Nov 2004 19:03:53 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 24761 invoked by uid 99); 15 Nov 2004 19:03:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [202.14.141.247] (HELO mx2.peace.com) (202.14.141.247) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 15 Nov 2004 11:03:51 -0800 Received: from localhost (localhost [127.0.0.1]) by mx2.peace.com (Postfix) with ESMTP id 389B124112AA for ; Tue, 16 Nov 2004 08:03:46 +1300 (NZDT) Received: from akl-exfe001.corp.peace.com (akl-exfe001.corp.peace.com [202.14.141.106]) by mx2.peace.com (Postfix) with ESMTP id 333CD241B91E for ; Tue, 16 Nov 2004 08:03:37 +1300 (NZDT) Received: from akl-exbe001.corp.peace.com ([10.0.100.10]) by akl-exfe001.corp.peace.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 16 Nov 2004 08:03:37 +1300 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: SSL problem Date: Tue, 16 Nov 2004 08:03:37 +1300 Message-ID: <1722051CC8FD5D44B610FD947174AEFD0E3A32@akl-exbe001.corp.peace.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SSL problem Thread-Index: AcTLRLRQ+lw3ZF2ISt2tWf6Em3frxgAAG+ig From: "Craig Palmer" To: "JMeter Users List" X-OriginalArrivalTime: 15 Nov 2004 19:03:37.0281 (UTC) FILETIME=[CFCE6B10:01C4CB45] X-Virus-Scanned: by amavisd-new-20030616-p3 (Debian) at example.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You need a security certificate to access that particular secure site. This is part of the ssl layer in the JVM. The following are some instructions to do this. 1. Go to your SECURE site which you are trying to access. 2. Click on the lock icon at the right corner(I am assuming you are using IE). 3. Go to "Certification Path" tab and select the leaf node certificate i.e. the bottom most in the hierarchy 4. Click on Details tab and click on "Copy to File..." 5. Select the default options for "Export to file format" dialog box. 6. On next page specify the .cer file name lets say xyz the file it will generate would be xyz.cer. 7. Run the following keytool command to generate xyzcacerts. keytool -import -keystore xyzcacerts -alias xyz -file xyz.cer 8. To run application, provide javax.net.ssl.trustStore=3D./xyzcacerts = as a variable to jvm using java -Djavax.net...... or set in the code by calling the System.setProperty(..) or rename the xyzcacerts to jssecacerts and put in (java.home)"c:\Program File\java\j2re1.4.2\lib\security" where c:\Program File\java\j2re1.4.2\ is the location of your jre. I've only tried the third strategy of generating the jssecacerts file. Craig. -----Original Message----- From: Liao, Avian [mailto:aliao@enporion.com]=20 Sent: Tuesday, November 16, 2004 7:56 AM To: Jmeter Info (E-mail); jmeter-user@jakarta.apache.org Subject: SSL problem Hi,=20 I tried to do load testing for our Https site, and in my log file, I saw the following message: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR - jmeter.util.SSLManager: Couldn't load keystore java.lang.Exception: No key found at org.apache.jmeter.util.keystore.DefaultKeyStore.load(DefaultKeyStore.jav a:73) at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:173) at org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:171 ) at org.apache.jmeter.util.JsseSSLManager.(JsseSSLManager.java:99) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA ccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons tructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:281) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP Sampler.java:148) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j ava:465) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl erBase.java:585) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl erBase.java:573) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254) at java.lang.Thread.run(Thread.java:536) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I question is : 1. Do I need to install anything in order for Jmeter to run my test? 2. what does " no key found" in the error message? 3. If I re-run this program again, there would be no error message, but if I close the JMeter and run this script, the error would show again, why does it mean? Anyone get answer? Thanks! AL --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org