You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Nop Lists <no...@gmail.com> on 2006/08/30 21:10:28 UTC
Webservice Request (SOAP), HTTPS, Client Certificate
Hello,
I need to load test a webservice over https.
I have imported the server certificate into the keystore.
The developer said, the client (JMeter in my case, Internet Explorer for the
users) should send a client certificate with the request.
I was not successfull importing the client certificate (in .p12 - format)
into the keystore: keytool was complaining
keytool error: java.lang.Exception: Input not an X.509certificate
Any clue how to overcome the problem?
The error message starts with
javax.net.ssl.SSLException: Connection has been shutdown:
javax.net.ssl.SSLHandshakeException: Received fatal alert:
handshake_failure
I am using both JMeter 2.2 and 2.1.1 (a solution to any of them would
suffice), Java 1.4 (can upgrade to 1.5 if needed).
Just for reference - after importing the cient certificate to internet
explorer I was able to get a response.
Thanks for any help
Nop
Re: Webservice Request (SOAP), HTTPS, Client Certificate
Posted by Peter Lin <wo...@gmail.com>.
the ssl socket is suppose to send that automatically.
peter
On 9/3/06, Nop Lists <no...@gmail.com> wrote:
>
> Thanks Peter.
> Once loaded into the keystore, how do I send the client certificate with
> the
> request ?
> thanks
> Nop
>
> ---------- Forwarded message ----------
> From: Peter Lin <wo...@gmail.com>
> Date: Aug 30, 2006 9:15 PM
> Subject: Re: Webservice Request (SOAP), HTTPS, Client Certificate
> To: JMeter Users List <jm...@jakarta.apache.org>
>
> I believe you may need to convert the cert to the correct method and use
> the
> jdk keytool to import it. it's been a while since I've had to do that, so
> I
> don't remember the exact steps. there should be some tutorials on Sun's
> website on that.
>
> peter
>
> On 8/30/06, Nop Lists <no...@gmail.com> wrote:
> >
> > Hello,
> > I need to load test a webservice over https.
> > I have imported the server certificate into the keystore.
> > The developer said, the client (JMeter in my case, Internet Explorer for
> > the
> > users) should send a client certificate with the request.
> > I was not successfull importing the client certificate (in .p12 -
> format)
> > into the keystore: keytool was complaining
> > keytool error: java.lang.Exception: Input not an
> > X.509certificate
> > Any clue how to overcome the problem?
> >
> > The error message starts with
> >
> > javax.net.ssl.SSLException: Connection has been shutdown:
> > javax.net.ssl.SSLHandshakeException: Received fatal alert:
> > handshake_failure
> >
> >
> > I am using both JMeter 2.2 and 2.1.1 (a solution to any of them would
> > suffice), Java 1.4 (can upgrade to 1.5 if needed).
> >
> > Just for reference - after importing the cient certificate to internet
> > explorer I was able to get a response.
> >
> > Thanks for any help
> > Nop
> >
> >
>
>
Fwd: Webservice Request (SOAP), HTTPS, Client Certificate
Posted by Nop Lists <no...@gmail.com>.
Thanks Peter.
Once loaded into the keystore, how do I send the client certificate with the
request ?
thanks
Nop
---------- Forwarded message ----------
From: Peter Lin <wo...@gmail.com>
Date: Aug 30, 2006 9:15 PM
Subject: Re: Webservice Request (SOAP), HTTPS, Client Certificate
To: JMeter Users List <jm...@jakarta.apache.org>
I believe you may need to convert the cert to the correct method and use the
jdk keytool to import it. it's been a while since I've had to do that, so I
don't remember the exact steps. there should be some tutorials on Sun's
website on that.
peter
On 8/30/06, Nop Lists <no...@gmail.com> wrote:
>
> Hello,
> I need to load test a webservice over https.
> I have imported the server certificate into the keystore.
> The developer said, the client (JMeter in my case, Internet Explorer for
> the
> users) should send a client certificate with the request.
> I was not successfull importing the client certificate (in .p12 - format)
> into the keystore: keytool was complaining
> keytool error: java.lang.Exception: Input not an
> X.509certificate
> Any clue how to overcome the problem?
>
> The error message starts with
>
> javax.net.ssl.SSLException: Connection has been shutdown:
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> handshake_failure
>
>
> I am using both JMeter 2.2 and 2.1.1 (a solution to any of them would
> suffice), Java 1.4 (can upgrade to 1.5 if needed).
>
> Just for reference - after importing the cient certificate to internet
> explorer I was able to get a response.
>
> Thanks for any help
> Nop
>
>
Re: Webservice Request (SOAP), HTTPS, Client Certificate
Posted by Peter Lin <wo...@gmail.com>.
I believe you may need to convert the cert to the correct method and use the
jdk keytool to import it. it's been a while since I've had to do that, so I
don't remember the exact steps. there should be some tutorials on Sun's
website on that.
peter
On 8/30/06, Nop Lists <no...@gmail.com> wrote:
>
> Hello,
> I need to load test a webservice over https.
> I have imported the server certificate into the keystore.
> The developer said, the client (JMeter in my case, Internet Explorer for
> the
> users) should send a client certificate with the request.
> I was not successfull importing the client certificate (in .p12 - format)
> into the keystore: keytool was complaining
> keytool error: java.lang.Exception: Input not an
> X.509certificate
> Any clue how to overcome the problem?
>
> The error message starts with
>
> javax.net.ssl.SSLException: Connection has been shutdown:
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> handshake_failure
>
>
> I am using both JMeter 2.2 and 2.1.1 (a solution to any of them would
> suffice), Java 1.4 (can upgrade to 1.5 if needed).
>
> Just for reference - after importing the cient certificate to internet
> explorer I was able to get a response.
>
> Thanks for any help
> Nop
>
>