0

我在录制 HTTPS 站点时遇到了一个奇怪的问题。错误代码是:- javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificate s(Unknown Source) 在我参考了google中的不同帖子后尝试了以下操作:-

  1. 将 JDK 更新为 JDK7
  2. 在crt,der和p7c中导出网站的证书
  3. 将证书导入到 jre7/lib/security 的 cacerts

我正在选择 HTTP 4 客户端进行录制。如果我使用 JAVA,错误代码是:-

javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source) at sun.security.ssl.Handshaker.fatalSE(Unknown Source) at sun.security.ssl.Handshaker.fatalSE(Unknown Source) at sun.security.ssl.ClientHandshaker.serverCertificat e(Unknown Source) at sun.security.ssl.ClientHandshaker.processMessage(U nknown Source) at sun.security.ssl.Handshaker.processLoop(Unknown Source) at sun.security.ssl.Handshaker.process_record(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.performInitialHands hake(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unkn own Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unkn own Source) at I reinstalled JDK7.
The error code has now changed to :-
Secure Connection Failed
Cannot communicate securely with peer: no common encryption algorithm(s).
(Error code: ssl_error_no_cypher_overlap) 
4

1 回答 1

1

我没有在您的问题中看到一个明确的问题(您只是说您在记录 HTTPS 站点时遇到了一个奇怪的问题)。

如果您的网站在 Chrome 中运行,您可以尝试使用 JMeter Chrome 扩展程序完全绕过 JMeter 的 HTTP 代理: https ://chrome.google.com/webstore/detail/blazemeter-the-load-testi/mbopgmdnpcbohhpnfglgohlbhfongabi

BlazeMeter 是一项付费服务​​,但您可以通过他们的免费帐户尽可能多地使用 chrome 扩展程序。

于 2013-09-17T20:17:10.513 回答