确保将浏览器设置为接受JMeter代理证书

问题描述 投票:2回答:1

我已经在生成的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个回答
0
投票

要检查的2件事:

  • 如果您在6天前添加了证书,请确保在默认过期后再次添加证书,这可以通过以下方式进行调整:

proxy.cert.validity = 7

  • 另一种可能性是Java版本的JMeter与服务器版本之间存在SSL算法不匹配。这将在java.security中进行调整。
© www.soinside.com 2019 - 2024. All rights reserved.