我在Jmeter中遇到错误

我在Jmeter中遇到错误,jmeter,ssl-certificate,Jmeter,Ssl Certificate,大家好,我是Jmeter的新手,在记录HTTPS请求时,在响应数据中出现了错误 javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.sec

大家好,我是Jmeter的新手,在记录HTTPS请求时,在响应数据中出现了错误

javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.Alerts.getSSLException(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
    at sun.security.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)

您需要将证书(ApacheJMeterTemporaryRootCA.crt)添加到浏览器的受信任根文件夹中。由于Jmeter在录制过程中以代理身份显示其自己的证书,因此您需要告诉浏览器此证书是受信任的证书。

请向我们显示您的代码,以便其他人可以帮助您。您是否尝试通过谷歌搜索问题?第一个结果似乎非常非常相似。。。