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

确保浏览器设置为接受JMeter代理证书,jmeter,digital-certificate,Jmeter,Digital Certificate,我已经在firefox中导入了生成的证书 但仍在“查看结果树”中出现以下错误,firefox中的页面也未打开: 响应消息:软件导致的连接中止:recv失败 确保浏览器设置为接受JMeter代理证书 我遵循了以下步骤: 选择以下选项: Tools / Options Advanced / Certificates View Certificates Authorities Import … Browse to the JMeter launch directory, and click on th

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

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

响应消息:软件导致的连接中止:recv失败 确保浏览器设置为接受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
需要检查的两件事:

  • 如果您在6天前添加了证书,请确保再次添加证书,因为证书在经过一些延迟后默认会过期,可以使用以下方法进行调整:
proxy.cert.validity=7

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