【问题标题】:Ensure browser is set to accept the JMeter proxy certificate确保浏览器设置为接受 JMeter 代理证书
【发布时间】:2017-08-16 07:26:01
【问题描述】:

我已经在 Firefox 中导入了生成的证书。

但仍然在“查看结果树”中出现以下错误,并且 firefox 中的页面也无法打开:

响应消息:软件导致连接中止:recv failed 确保浏览器设置为接受 JMeter 代理证书

我按照以下步骤操作:

选择以下选项:

Tools / Options
Advanced / Certificates
View Certificates
Authorities
Import …
Browse to the JMeter launch directory, and click on the file ApacheJMeterTemporaryRootCA.crt, press Open
Click View and check that the certificate details agree with the ones displayed by the JMeter Test Script Recorder
If OK, select "Trust this CA to identify web sites", and press OK
Close dialogs by pressing OK as necessary

【问题讨论】:

    标签: jmeter digital-certificate


    【解决方案1】:

    需要检查的两件事:

    • 如果您在 6 天前添加了证书,请确保再次添加它,因为默认情况下它会在经过一些延迟后过期,可以通过以下方式进行调整:

    proxy.cert.validity=7

    • 另一种可能性是 JMeter 的 Java 版本和服务器版本之间存在 SSL 算法不匹配。这将在 java.security 中进行调整。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-24
      • 2016-09-16
      • 2014-07-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多