Ok before we go ahead here , see if the previous poster's observation is
correct (you've probably specified default port and its picking up HTTP
port).

This only generates the private public key pair as far as i remember. You
also should have had to sign the key to get your Certificate(but my memory
is rusty). You should have to import the signer's certificate into the
keystore that the JDK running JMeter uses. (or perhaps there are flags in
the JDK that will allow this check to be disabled). You'll have to use
google im afraid :)
regards
deepak

On Mon, Oct 19, 2009 at 4:38 PM, eflat <tc_online2...@yahoo.com> wrote:

>
> Ah, ok! Yes, I see I did set the browser to ignore a cert error. This is my
> local development instance of a production site so I wasn't concerned about
> it. When I set this all up to run I followed a write-up that included
> creating the cert via this command:
>   [JAVA_HOME]/bin/keytool -genkey -alias tctctc -keyalg RSA
> The generated .keystore file was copied into a jboss directory (per the
> writeup). Hmmm...does jmeter need this file, too?
>
>
> Deepak Shetty wrote:
> >
> > hi
> >>Thanks - Site is fine in my browser. And it's running locally so it is a
> >>self-signed cert.
> > Not what I meant.
> > a. Are there any certificate errors (browsers can be configured to ignore
> > these and still work correctly). View the certificate and check
> > b. Who signed the certificate for the server (normally you have Verisign,
> > the JDK ships with the standard set of CA certificates, but you can sign
> > your own certificates in which case you have to import the CA certificate
> > into the keystore)
> > regards
> > deepak
> >
> > On Mon, Oct 19, 2009 at 3:52 PM, eflat <tc_online2...@yahoo.com> wrote:
> >
> >>
> >> Thanks - Site is fine in my browser. And it's running locally so it is a
> >> self-signed cert.
> >>
> >> From the "Sampler result" tab:
> >> -----------------------------------
> >> Thread Name: Thread Group 1-1
> >> Sample Start: 2009-10-19 15:43:43 PDT
> >> Load time: 28367
> >> Latency: 0
> >> Size in bytes: 1267
> >> Sample Count: 1
> >> Error Count: 1
> >> Response code: Non HTTP response code:
> >> javax.net.ssl.SSLHandshakeException
> >> Response message: Non HTTP response message: Remote host closed
> >> connection
> >> during handshake
> >>
> >> Response headers:
> >>
> >>
> >> HTTPSampleResult fields:
> >> ContentType:
> >> DataEncoding: ISO-8859-1
> >> -----------------------------------
> >>
> >> and from the "Request" tab:
> >> -----------------------------------
> >> POST https://127.0.0.1:8080/subscr/login.555
> >>
> >> POST data:
> >>
> >>
> >> Cookie Data:
> >> JSESSIONID=199E21DD7A9B7E8D7CBE173BFC10CBB9
> >>
> >> Request Headers:
> >> Connection: keep-alive
> >> Content-Length: 158
> >> Content-Type: application/x-www-form-urlencoded
> >> -----------------------------------
> >>
> >> And from the "Response data" tab:
> >> -----------------------------------
> >> javax.net.ssl.SSLHandshakeException: Remote host closed connection
> during
> >> handshake
> >>        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown
> >> Source)
> >>        at
> >>
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown
> >> Source)
> >>        at
> >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown
> >> Source)
> >>        at
> >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown
> >> Source)
> >>        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown
> >> Source)
> >>        at
> >>
> >>
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown
> >> Source)
> >>        at
> >> sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown
> >> Source)
> >>        at
> >>
> >>
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:490)
> >>        at
> >>
> >>
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037)
> >>        at
> >>
> >>
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023)
> >>        at
> >>
> >>
> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
> >>        at
> >> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
> >>        at java.lang.Thread.run(Unknown Source)
> >> Caused by: java.io.EOFException: SSL peer shut down incorrectly
> >>        at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
> >>        ... 13 more
> >> -----------------------------------
> >>
> >>
> >>
> >> Deepak Shetty wrote:
> >> >
> >> > whats the exact exception?
> >> > If you access the site in your browser , do you get any errors? who
> has
> >> > issued the server certificate? is it self signed?
> >> >
> >> >
> >> >
> >> > On Mon, Oct 19, 2009 at 2:42 PM, eflat <tc_online2...@yahoo.com>
> wrote:
> >> >
> >> >>
> >> >> I getting a javax.net.ssl.SSLHandshakeException from an https form.
> >> I've
> >> >> searched around and found threads saying that using java 1.5 would
> fix
> >> >> this,
> >> >> but it hasn't for me. I'm using jmeter 2.3.4 on XP. Any suggestions??
> >> >>
> >> >> This is a bit from my log file...
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.util.JMeterUtils: Setting Locale
> to
> >> >> en_US
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: Loading user properties
> >> from:
> >> >> C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin\user.properties
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: Loading system properties
> >> >> from:
> >> >> C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin\system.properties
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: Copyright (c) 1998-2009
> The
> >> >> Apache Software Foundation
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: Version 2.3.4 r785646
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: java.version=1.5.0_09
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: java.vm.name=Java
> >> HotSpot(TM)
> >> >> Client VM
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: os.name=Windows XP
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: os.arch=x86
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: os.version=5.1
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: file.encoding=Cp1252
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: Default Locale=English
> >> (United
> >> >> States)
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: JMeter  Locale=English
> >> (United
> >> >> States)
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter:
> >> >> JMeterHome=C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: user.dir
> >> >> =C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: PWD
> >> >> =C:\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: IP: 192.168.1.100 Name:
> >> TCX-HP
> >> >> FullName: 192.168.1.100
> >> >> 2009/10/19 14:23:31 INFO  - jmeter.JMeter: Loaded icon properties
> from
> >> >> org/apache/jmeter/images/icon.properties
> >> >> 2009/10/19 14:23:33 INFO  - jmeter.engine.util.CompoundVariable:
> Note:
> >> >> Function class names must contain the string: '.functions.'
> >> >> 2009/10/19 14:23:33 INFO  - jmeter.engine.util.CompoundVariable:
> Note:
> >> >> Function class names must not contain the string: '.gui.'
> >> >> 2009/10/19 14:23:33 INFO  - jmeter.util.BSFTestElement: Registering
> >> >> JMeter
> >> >> version of JavaScript engine as work-round for BSF-22
> >> >> 2009/10/19 14:23:34 INFO  -
> >> jmeter.protocol.http.sampler.HTTPSamplerBase:
> >> >> Cannot find .className property for htmlParser, using default
> >> >> 2009/10/19 14:23:34 INFO  -
> >> jmeter.protocol.http.sampler.HTTPSamplerBase:
> >> >> Parser for text/html is
> >> >> 2009/10/19 14:23:34 INFO  -
> >> jmeter.protocol.http.sampler.HTTPSamplerBase:
> >> >> Parser for application/xhtml+xml is
> >> >> 2009/10/19 14:23:34 INFO  -
> >> jmeter.protocol.http.sampler.HTTPSamplerBase:
> >> >> Parser for application/xml is
> >> >> 2009/10/19 14:23:34 INFO  -
> >> jmeter.protocol.http.sampler.HTTPSamplerBase:
> >> >> Parser for text/xml is
> >> >> 2009/10/19 14:23:34 INFO  -
> >> jmeter.protocol.http.sampler.HTTPSamplerBase:
> >> >> Parser for text/vnd.wap.wml is
> >> >> org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
> >> >> 2009/10/19 14:23:34 INFO  - jmeter.gui.util.MenuFactory: Skipping
> >> >> org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui
> >> >> 2009/10/19 14:23:34 INFO  - jmeter.gui.util.MenuFactory: Skipping
> >> >> org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui
> >> >> 2009/10/19 14:23:34 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
> >> >> Maximum connection retries = 10
> >> >> 2009/10/19 14:23:34 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
> >> >> Connection and read timeouts are available on this JVM
> >> >> 2009/10/19 14:23:35 WARN  - jmeter.gui.util.MenuFactory: Missing jar?
> >> >> Could
> >> >> not create org.apache.jmeter.visualizers.MailerVisualizer.
> >> >> java.lang.NoClassDefFoundError: javax/mail/MessagingException
> >> >> 2009/10/19 14:23:35 INFO  - jmeter.samplers.SampleResult: Note:
> Sample
> >> >> TimeStamps are START times
> >> >> 2009/10/19 14:23:35 INFO  - jmeter.samplers.SampleResult:
> >> >> sampleresult.default.encoding is set to ISO-8859-1
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/jmeter-2.3.4-SSLHandshakeException-with-java-1.5-tp25966195p25966195.html
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> >> >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/jmeter-2.3.4-SSLHandshakeException-with-java-1.5-tp25966195p25967027.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/jmeter-2.3.4-SSLHandshakeException-with-java-1.5-tp25966195p25967542.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

Reply via email to