Problem with JMeter and HTTP Proxy Server with SSL

后端 未结 4 492
失恋的感觉
失恋的感觉 2021-01-18 18:08

We are using JMeter 2.4 and are trying to use the HTTP Proxy Server to capture a test plan.

\"Attempt HTTPS spoofing\" is not ticked.

The error we get in the

4条回答
  •  梦谈多话
    2021-01-18 18:20

    From http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Proxy_Server

    When recording HTTPS, the JMeter proxy server uses a dummy certificate to enable it to accept the SSL connection from the browser. This certificate is not one of the certificates that browsers normally trust, and will not be for the correct host, so the browser should display a dialogue asking if you want to accept the certificate or not. For example: 1) The server's name "www.example.com" does not match the certificate's name "JMeter Proxy". Somebody may be trying to eavesdrop on you. 2) The certificate for "JMeter Proxy" is signed by the unknown Certificate Authority "JMeter Proxy". It is not possible to verify that this is a valid certificate. You will need to accept the certificate in order to allow the JMeter Proxy to intercept the SSL traffic in order to record it. You should only accept the certificate temporarily.

    Also see here http://osdir.com/ml/jmeter-dev.jakarta.apache.org/2009-08/msg00005.html

提交回复
热议问题