Hello Jochen.
I do not have a complete answer for you, as my current tests do not require https. In
fact I would appreciate the same answers you need!
However, since our web application is actually developed to support https for
sensitive resource access, I did try it.
+ You do have to uncomment both ssl.provider and ssl.pkgs
This was not sufficient for me to get https working with JMeter, however.
I got JMeter to the point where it was prompting for a password for accessing the
default JKS format key store.
I gave a password (only 3 characters) at this point, but after the test (which failed)
could not find my key store. (I also found from JSSE documentation that I should have
used an 8 character minimum password at this point.)
I think my client side key store was not created because of the failure recorded in
the attached https-ex.txt file.
I do not get JMeter to successfully issue the https request. An exception is thrown
while trying to set up the connection to the server.
Part of my problem is that I am using a web server with a self signed server
certificate, for testing use only.
It is not a 'real' certificate signed by a trusted authority. I think this means I
need to modify a certs file in my j2sdk and j2re installations to make the test
certificate 'trusted'. The JSSE documentation talks about this.
At this point my need to get an overall set of tests in place overrode investigating
JSSE and getting https going for me in JMeter.
Intial test plan and Exception attached.
Comments welcome,
John Kavadias [EMAIL PROTECTED]
Running the test!
(The system cannot find the path specified)
Thread Thread Group-1 started
KeyStore Type: JKS
JmeterKeyStore Location: C:\WINNT\Profiles\johnk\.keystore
JmeterKeyStore type: class org.apache.jmeter.util.keystore.DefaultKeyStore
class org.apache.jmeter.util.keystore.DefaultKeyStore
KeyStore Type: JKS
TrustStore Location:
TrustStore type: class org.apache.jmeter.util.keystore.DefaultKeyStore
Default Cipher: SSL_RSA_WITH_RC4_128_SHA
Supported Cipher: SSL_RSA_WITH_RC4_128_SHA
Default Cipher: SSL_RSA_WITH_RC4_128_MD5
Supported Cipher: SSL_RSA_WITH_RC4_128_MD5
Default Cipher: SSL_RSA_WITH_DES_CBC_SHA
Supported Cipher: SSL_RSA_WITH_DES_CBC_SHA
Default Cipher: SSL_RSA_WITH_3DES_EDE_CBC_SHA
Supported Cipher: SSL_RSA_WITH_3DES_EDE_CBC_SHA
Default Cipher: SSL_DHE_DSS_WITH_DES_CBC_SHA
Supported Cipher: SSL_DHE_DSS_WITH_DES_CBC_SHA
Default Cipher: SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
Supported Cipher: SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
Default Cipher: SSL_RSA_EXPORT_WITH_RC4_40_MD5
Supported Cipher: SSL_RSA_EXPORT_WITH_RC4_40_MD5
Default Cipher: SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
Supported Cipher: SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
Supported Cipher: SSL_RSA_WITH_NULL_MD5
Supported Cipher: SSL_RSA_WITH_NULL_SHA
Supported Cipher: SSL_DH_anon_WITH_RC4_128_MD5
Supported Cipher: SSL_DH_anon_WITH_DES_CBC_SHA
Supported Cipher: SSL_DH_anon_WITH_3DES_EDE_CBC_SHA
Supported Cipher: SSL_DH_anon_EXPORT_WITH_RC4_40_MD5
Supported Cipher: SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA
JsseSSLManager installed
Is server trusted ???
java.io.IOException: HTTPS hostname wrong: should be <192.168.10.10>
at sun.net.www.protocol.https.HttpsClient.b(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(DashoA6275)
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl
.connect(DashoA6275)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSample
r.java:888)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSample
r.java:416)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:133)
at java.lang.Thread.run(Thread.java:536)
Is server trusted ???
https-root-index-1.jmx
Description: Binary data
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>