Cannot get http2 plugin to send client certificate at handshake

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot get http2 plugin to send client certificate at handshake

Per Holmberg
Hello,

I'm trying to setup JMeter to send http2 requests but I have problems with the handshake process while exchanging certificates between client and server. When trying my request with http1.1 the handshake works ok, so the certificate should then be ok.

I can see the following sequence in wireshark when using http2:

Client send "Client Hello"
Server respond with "Server Hello, Certificate, Server Key Exchange, Certificate Request, Server Hello Done"
Client send "Certificate, Client Key Exchange"
..
..

The issue seems to be that the client (my JMeter) does not include the certificate at handshake, the certificate parameter is visible in wireshark but it is empty. The server respond with "Bad Certificate".


Any idea of what could be the issue for JMeter to not include the certificate during handshake?


Rgds,
Per



Reply | Threaded
Open this post in threaded view
|

Cannot get http2 plugin to send client certificate at handshake

Per Holmberg
Hello,

I'm trying to setup JMeter to send http2 requests with https but I have problems with the handshake process while exchanging certificates between client and server. When trying my request with http1.1 the handshake works ok, so the certificate should then be ok.

I can see the following sequence in wireshark when using http2:

Client send "Client Hello"
Server respond with "Server Hello, Certificate, Server Key Exchange, Certificate Request, Server Hello Done"
Client send "Certificate, Client Key Exchange"
..
..

The issue seems to be that the client (my JMeter) does not include the certificate at handshake, the certificate parameter is visible in wireshark but it is empty. The server respond with "Bad Certificate".


Any idea of what could be the issue for JMeter to not include the certificate during handshake?


Rgds,
Per

pmd
Reply | Threaded
Open this post in threaded view
|

Re: Cannot get http2 plugin to send client certificate at handshake

pmd
Hello,
JMeter does not support HTTP2 OOTB, I guess you're using a 3rd party
plugin, which one is it ?

Thank you

On Wed, May 8, 2019 at 3:36 PM Per Holmberg <[hidden email]> wrote:

> Hello,
>
> I'm trying to setup JMeter to send http2 requests with https but I have
> problems with the handshake process while exchanging certificates between
> client and server. When trying my request with http1.1 the handshake works
> ok, so the certificate should then be ok.
>
> I can see the following sequence in wireshark when using http2:
>
> Client send "Client Hello"
> Server respond with "Server Hello, Certificate, Server Key Exchange,
> Certificate Request, Server Hello Done"
> Client send "Certificate, Client Key Exchange"
> ..
> ..
>
> The issue seems to be that the client (my JMeter) does not include the
> certificate at handshake, the certificate parameter is visible in wireshark
> but it is empty. The server respond with "Bad Certificate".
>
>
> Any idea of what could be the issue for JMeter to not include the
> certificate during handshake?
>
>
> Rgds,
> Per
>
>

--
Cordialement.
Philippe Mouawad.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot get http2 plugin to send client certificate at handshake

Per Holmberg
Hello,

This is the plugin i use.

HTTP/2 Sampler
Vendor: BlazeMeter
HTTP/2 protocol sampler
Documentation: https://github.com/Blazemeter/jmeter-bzm-plugins/blob/master/http2/README.md
What's new in version 1.4: Fixed serialization issue for JMeter distributed mode
Maven groupId: com.blazemeter, artifactId: jmeter-bzm-http2, version: 1.4


Rgds,
Per


________________________________
From: Philippe Mouawad <[hidden email]>
Sent: Thursday, May 9, 2019 9:03 AM
To: JMeter Users List
Subject: Re: Cannot get http2 plugin to send client certificate at handshake

Hello,
JMeter does not support HTTP2 OOTB, I guess you're using a 3rd party
plugin, which one is it ?

Thank you

On Wed, May 8, 2019 at 3:36 PM Per Holmberg <[hidden email]> wrote:

> Hello,
>
> I'm trying to setup JMeter to send http2 requests with https but I have
> problems with the handshake process while exchanging certificates between
> client and server. When trying my request with http1.1 the handshake works
> ok, so the certificate should then be ok.
>
> I can see the following sequence in wireshark when using http2:
>
> Client send "Client Hello"
> Server respond with "Server Hello, Certificate, Server Key Exchange,
> Certificate Request, Server Hello Done"
> Client send "Certificate, Client Key Exchange"
> ..
> ..
>
> The issue seems to be that the client (my JMeter) does not include the
> certificate at handshake, the certificate parameter is visible in wireshark
> but it is empty. The server respond with "Bad Certificate".
>
>
> Any idea of what could be the issue for JMeter to not include the
> certificate during handshake?
>
>
> Rgds,
> Per
>
>

--
Cordialement.
Philippe Mouawad.
pmd
Reply | Threaded
Open this post in threaded view
|

Re: Cannot get http2 plugin to send client certificate at handshake

pmd
Hello,
You should report issue on jmeter plugins google group.

But I think it does not support client authentication.

Regards

On Wed, May 8, 2019 at 4:09 PM Per Holmberg <[hidden email]> wrote:

> Hello,
>
> This is the plugin i use.
>
> HTTP/2 Sampler
> Vendor: BlazeMeter
> HTTP/2 protocol sampler
> Documentation:
> https://github.com/Blazemeter/jmeter-bzm-plugins/blob/master/http2/README.md
> What's new in version 1.4: Fixed serialization issue for JMeter
> distributed mode
> Maven groupId: com.blazemeter, artifactId: jmeter-bzm-http2, version: 1.4
>
>
> Rgds,
> Per
>
>
> ________________________________
> From: Philippe Mouawad <[hidden email]>
> Sent: Thursday, May 9, 2019 9:03 AM
> To: JMeter Users List
> Subject: Re: Cannot get http2 plugin to send client certificate at
> handshake
>
> Hello,
> JMeter does not support HTTP2 OOTB, I guess you're using a 3rd party
> plugin, which one is it ?
>
> Thank you
>
> On Wed, May 8, 2019 at 3:36 PM Per Holmberg <[hidden email]> wrote:
>
> > Hello,
> >
> > I'm trying to setup JMeter to send http2 requests with https but I have
> > problems with the handshake process while exchanging certificates between
> > client and server. When trying my request with http1.1 the handshake
> works
> > ok, so the certificate should then be ok.
> >
> > I can see the following sequence in wireshark when using http2:
> >
> > Client send "Client Hello"
> > Server respond with "Server Hello, Certificate, Server Key Exchange,
> > Certificate Request, Server Hello Done"
> > Client send "Certificate, Client Key Exchange"
> > ..
> > ..
> >
> > The issue seems to be that the client (my JMeter) does not include the
> > certificate at handshake, the certificate parameter is visible in
> wireshark
> > but it is empty. The server respond with "Bad Certificate".
> >
> >
> > Any idea of what could be the issue for JMeter to not include the
> > certificate during handshake?
> >
> >
> > Rgds,
> > Per
> >
> >
>
> --
> Cordialement.
> Philippe Mouawad.
>


--
Cordialement.
Philippe Mouawad.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot get http2 plugin to send client certificate at handshake

Per Holmberg
Ok, I see.

Thanks

Skickat från min iPhone

> 8 maj 2019 kl. 16:10 skrev Philippe Mouawad <[hidden email]>:
>
> Hello,
> You should report issue on jmeter plugins google group.
>
> But I think it does not support client authentication.
>
> Regards
>
>> On Wed, May 8, 2019 at 4:09 PM Per Holmberg <[hidden email]> wrote:
>>
>> Hello,
>>
>> This is the plugin i use.
>>
>> HTTP/2 Sampler
>> Vendor: BlazeMeter
>> HTTP/2 protocol sampler
>> Documentation:
>> https://github.com/Blazemeter/jmeter-bzm-plugins/blob/master/http2/README.md
>> What's new in version 1.4: Fixed serialization issue for JMeter
>> distributed mode
>> Maven groupId: com.blazemeter, artifactId: jmeter-bzm-http2, version: 1.4
>>
>>
>> Rgds,
>> Per
>>
>>
>> ________________________________
>> From: Philippe Mouawad <[hidden email]>
>> Sent: Thursday, May 9, 2019 9:03 AM
>> To: JMeter Users List
>> Subject: Re: Cannot get http2 plugin to send client certificate at
>> handshake
>>
>> Hello,
>> JMeter does not support HTTP2 OOTB, I guess you're using a 3rd party
>> plugin, which one is it ?
>>
>> Thank you
>>
>>> On Wed, May 8, 2019 at 3:36 PM Per Holmberg <[hidden email]> wrote:
>>>
>>> Hello,
>>>
>>> I'm trying to setup JMeter to send http2 requests with https but I have
>>> problems with the handshake process while exchanging certificates between
>>> client and server. When trying my request with http1.1 the handshake
>> works
>>> ok, so the certificate should then be ok.
>>>
>>> I can see the following sequence in wireshark when using http2:
>>>
>>> Client send "Client Hello"
>>> Server respond with "Server Hello, Certificate, Server Key Exchange,
>>> Certificate Request, Server Hello Done"
>>> Client send "Certificate, Client Key Exchange"
>>> ..
>>> ..
>>>
>>> The issue seems to be that the client (my JMeter) does not include the
>>> certificate at handshake, the certificate parameter is visible in
>> wireshark
>>> but it is empty. The server respond with "Bad Certificate".
>>>
>>>
>>> Any idea of what could be the issue for JMeter to not include the
>>> certificate during handshake?
>>>
>>>
>>> Rgds,
>>> Per
>>>
>>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]