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=41486>.
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=41486

           Summary: ERROR - jmeter.util.SSLManager: Couldn't load keystore
                    java.lang.Exception: No key found
           Product: JMeter
           Version: 2.2
          Platform: PC
        OS/Version: AIX
            Status: NEW
          Severity: critical
          Priority: P1
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Hi ,

I am trying to develop a web test plan using Jmeter Version 2.2 but everytime 
when I execute the test plan , I am getting an error related to SSL 
Configuration in the Jmeter.log  File.

ERROR - jmeter.util.SSLManager: Couldn't load keystore java.lang.Exception: No 
key found
        at org.apache.jmeter.util.keystore.DefaultKeyStore.load
(DefaultKeyStore.java:68)
        at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:154)
        at org.apache.jmeter.util.JsseSSLManager.getContext
(JsseSSLManager.java:141)
        at org.apache.jmeter.util.JsseSSLManager.<init>(JsseSSLManager.java:88)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown 
Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.apache.jmeter.util.SSLManager.getInstance(SSLManager.java:231)
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection
(HTTPSampler.java:148)
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample
(HTTPSampler.java:404)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:658)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:647)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
        at java.lang.Thread.run(Unknown Source)




According to  the suggestions mailed on some of the  websites I have performed 
the following steps:

1. Installed   jsse1.0.3_04 on my local machine.

2. I have exported  the certification for our SPM application in BASE -64 
encode X.509 (.cer) format---available at my end and save it in C:\.

3. Then run the following keytool command:

keytool -import -keystore xyz -alias xyz -file c:\xyz.cer
Enter keystore password:  welcome

4.Rename the xyz to jssecacerts and put in c:\Program File\java\j2re1.4.2
\lib\security\ and also put the same at C:\j2sdk1.4.2_03\jre\lib\security also.

5. Then performed some changes in the Jmeter.properties file.

ssl.provider=com.sun.net.ssl.internal.ssl.Provider----uncommented this line
ssl.pkgs=com.sun.net.ssl.internal.www.protocol---------------uncommented this 
line.

javax.net.ssl.trustStore=C:\j2sdk1.4.2_03\jre\lib\security\jssecacerts-----
(put the path)
javax.net.ssl.keyStore=C:\j2sdk1.4.2_03\jre\lib\security\jssecacerts-------
(put the path)

javax.net.ssl.keyStorePassword=welcome

Even after performing all the above steps , I am not able to get rid of the 
error.  Pls take a look and suggest the solution.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to