You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by xinga <li...@hotmail.com> on 2008/02/12 00:21:54 UTC

does SSL support per-thread base with different keys

Hi, the most recent release (2.3.1) supports SSL sessions created on per-thread basis. But, these SSL sessions appear to be created based on the same key. Does Jmeter currently allow to create SSL sessions on a per-thread basis and also based on different keys? 

_________________________________________________________________
Need to know the score, the latest news, or you need your HotmailĀ®-get your "fix".
http://www.msnmobilefix.com/Default.aspx

RE: does SSL support per-thread base with different keys

Posted by xinga <li...@hotmail.com>.
Thanks for the quick response!

But I do see each thread SSL session establishment appears as independent operation by Jmeter. I just cut/paste some logs here:

2008/02/11 21:50:20 DEBUG Thread Group 1-1 jmeter.util.JsseSSLManager: Creating threadLocal SSL context for: Thread Group 1-1 
2008/02/11 21:50:20 DEBUG Thread Group 1-1 jmeter.util.JsseSSLManager: class org.apache.jmeter.util.keystore.DefaultKeyStore 
.
.
.
2008/02/11 21:50:20 DEBUG Thread Group 1-1 jmeter.util.JsseSSLManager: Using threadLocal SSL context for: Thread Group 1-1 
2008/02/11 21:50:21 DEBUG Thread Group 1-1 jmeter.util.JsseSSLManager: ClientAlias: sun 
2008/02/11 21:50:21 DEBUG Thread Group 1-1 jmeter.util.JsseSSLManager: WrappedX509Manager: getCertificateChain(sun) 
2008/02/11 21:50:21 DEBUG Thread Group 1-1 jmeter.util.JsseSSLManager: WrappedX509Manager: getPrivateKey: Sun RSA private CRT key, 1024 bits
.
.
.
2008/02/11 21:50:21 DEBUG Thread Group 1-2 jmeter.util.JsseSSLManager: Creating threadLocal SSL context for: Thread Group 1-2 
2008/02/11 21:50:21 DEBUG Thread Group 1-2 jmeter.util.JsseSSLManager: class org.apache.jmeter.util.keystore.DefaultKeyStore 
.
.
2008/02/11 21:50:21 DEBUG Thread Group 1-2 jmeter.util.JsseSSLManager: Using threadLocal SSL context for: Thread Group 1-2 
2008/02/11 21:50:21 DEBUG Thread Group 1-2 jmeter.util.JsseSSLManager: ClientAlias: sun 
2008/02/11 21:50:21 DEBUG Thread Group 1-2 jmeter.util.JsseSSLManager: WrappedX509Manager: getCertificateChain(sun) 
2008/02/11 21:50:21 DEBUG Thread Group 1-2 jmeter.util.JsseSSLManager: WrappedX509Manager: getPrivateKey: Sun RSA private CRT key, 1024 bits

("sun" here is just the alias I gave to this PKCS12 key.)

So, instead of loading the "DefaultKeyStore", can we make Jmeter load a different key by passing it with a concatenated  key file? (similar as what CSV can be used to pass variables to Jmeter)?

Thanks!



> Date: Mon, 11 Feb 2008 23:27:24 +0000
> From: sebbaz@gmail.com
> To: jmeter-user@jakarta.apache.org
> Subject: Re: does SSL support per-thread base with different keys
> 
> Sorry, no idea. The SSL handling is delegated to the Java library.
> 
> On 11/02/2008, xinga <li...@hotmail.com> wrote:
> > Hi, the most recent release (2.3.1) supports SSL sessions created on per-thread basis. But, these SSL sessions appear to be created based on the same key. Does Jmeter currently allow to create SSL sessions on a per-thread basis and also based on different keys?
> >
> > _________________________________________________________________
> > Need to know the score, the latest news, or you need your Hotmail(R)-get your "fix".
> > http://www.msnmobilefix.com/Default.aspx
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 

_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008

Re: does SSL support per-thread base with different keys

Posted by sebb <se...@gmail.com>.
Sorry, no idea. The SSL handling is delegated to the Java library.

On 11/02/2008, xinga <li...@hotmail.com> wrote:
> Hi, the most recent release (2.3.1) supports SSL sessions created on per-thread basis. But, these SSL sessions appear to be created based on the same key. Does Jmeter currently allow to create SSL sessions on a per-thread basis and also based on different keys?
>
> _________________________________________________________________
> Need to know the score, the latest news, or you need your Hotmail(R)-get your "fix".
> http://www.msnmobilefix.com/Default.aspx

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