You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "janv@pandora.be" <ja...@telenet.be> on 2006/02/10 16:15:41 UTC

SSL Connection problems

I am trying to do SSL connections, but I am not succeeding to get it up and running. 
I exported my certificate, stored it in the cacerts, put my jmeterproperties to this file and added the standard changeit password. 
Result : 

jmeter.util.SSLManager: Couldn't load keystore java.lang.Exception: No key found 

I tried to export it with other encryption, in other files, tried it without password (which gave some other error saying I should provide a password) but it is just not working. 

I am using JRE 5 with jmeter 2.1.1 

I read a lot about this error, but never saw any answers that can help me out. 

Does anyone have an idea or did anyone succeed in setting up the connection right and test over SSL. 

Best regards, 

Jan Vangenechten 





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


Re: SSL Connection problems

Posted by sebb <se...@gmail.com>.
1) please only post one copy of your question
2) please start a new thread for a new question

On 15/06/06, rubal <ru...@yahoo.com> wrote:
>
> Hi Jan,
> I found your email Id from Nabble forums
> http://www.nabble.com/SSL-Connection-problems-t1099781.html#a2929072
>
> Actually I desparately need help in setting up HTTPS with Jmeter on Windows.
> My problem is very trivial,
>
> The url is working fine in browser but not in AJM(apache jmeter)
> I created HTTP Request Sampler & used HTTPS protocol under HTTP Request
> For URL https://registration.o2.co.uk/Register/PreRegister ,the Server name
> is set to registration.o2.co.uk
> Path = /Register/PreRegister
> Changed keystore in jmeter.properties as,(Though I am not sure if I need
> keystore setup)
> javax.net.ssl.keyStore=C:/j2sdk1.4.2_10/jre/lib/security/cacerts
> javax.net.ssl.keyStorePassword=changeit
> I cannot setup classpath of jsse.jar in properties files as well.The last
> line in my properties file read as user.classpath=../lib/jsse.jar;
>
>
> Can you give me any idea of how to stick the iron.It would be helpful it you
> can tell me what I need to do for classpath & keystore/password in
> jmeter.properties file.
>
> Many thanks in advance,
> Charan
> --
> View this message in context: http://www.nabble.com/SSL-Connection-problems-t1099781.html#a4884693
> Sent from the JMeter - User forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Re: SSL Connection problems

Posted by rubal <ru...@yahoo.com>.
Hi Jan,
I found your email Id from Nabble forums
http://www.nabble.com/SSL-Connection-problems-t1099781.html#a2929072

Actually I desparately need help in setting up HTTPS with Jmeter on Windows.
My problem is very trivial,

The url is working fine in browser but not in AJM(apache jmeter)
I created HTTP Request Sampler & used HTTPS protocol under HTTP Request 
For URL https://registration.o2.co.uk/Register/PreRegister ,the Server name
is set to registration.o2.co.uk 
Path = /Register/PreRegister
Changed keystore in jmeter.properties as,(Though I am not sure if I need
keystore setup)
javax.net.ssl.keyStore=C:/j2sdk1.4.2_10/jre/lib/security/cacerts
javax.net.ssl.keyStorePassword=changeit
I cannot setup classpath of jsse.jar in properties files as well.The last
line in my properties file read as user.classpath=../lib/jsse.jar; 


Can you give me any idea of how to stick the iron.It would be helpful it you
can tell me what I need to do for classpath & keystore/password in
jmeter.properties file.

Many thanks in advance,
Charan
--
View this message in context: http://www.nabble.com/SSL-Connection-problems-t1099781.html#a4884693
Sent from the JMeter - User forum at Nabble.com.


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


Re: SSL Connection problems

Posted by Noam Paz <no...@db.com>.
Jan,
SSL works for me and the only difference I identify between the methods is that I refer to the keystore from jmeter.bat and not from the properties:

-Djavax.net.ssl.trustStore=C:\Programme\j2sdk1.4.2_05\jre\lib\security\my_root

perhaps worth trying...

Best regards / Viele Grüße

Noam Paz




                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
             "Jan Vangenechten" <ja...@pandora.be>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
             13.02.2006 21:39                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To 
                                                                                                                                                                                                                                                                                                                                                                                                                       "'JMeter Users List'" <jm...@jakarta.apache.org>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           cc 
                                                                                                                                                                                                     Please respond to                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                   "JMeter Users List" <jm...@jakarta.apache.org>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Subject 
                                                                                                                                                                                                                                                                                                                                                                                                                       SSL Connection problems                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              





I am trying to do SSL connections, but I am not succeeding to get it up and
running.
I exported my certificate, stored it in the cacerts, put my jmeterproperties
to this file and added the standard changeit password.
Result :

jmeter.util.SSLManager: Couldn't load keystore java.lang.Exception: No key
found

I tried to export it with other encryption, in other files, tried it without
password (which gave some other error saying I should provide a password)
but it is just not working.

I am using JRE 5 with jmeter 2.1.1

I read a lot about this error, but never saw any answers that can help me
out.

Does anyone have an idea or did anyone succeed in setting up the connection
right and test over SSL.

Best regards,

Jan Vangenechten




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





--

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



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


SSL Connection problems

Posted by Jan Vangenechten <ja...@pandora.be>.
I am trying to do SSL connections, but I am not succeeding to get it up and
running. 
I exported my certificate, stored it in the cacerts, put my jmeterproperties
to this file and added the standard changeit password. 
Result : 

jmeter.util.SSLManager: Couldn't load keystore java.lang.Exception: No key
found 

I tried to export it with other encryption, in other files, tried it without
password (which gave some other error saying I should provide a password)
but it is just not working. 

I am using JRE 5 with jmeter 2.1.1 

I read a lot about this error, but never saw any answers that can help me
out. 

Does anyone have an idea or did anyone succeed in setting up the connection
right and test over SSL. 

Best regards, 

Jan Vangenechten 




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