为了账号安全,请及时绑定邮箱和手机立即绑定

代理开起来以后浏览器启动代理就会报错,有人帮忙看下吗

'keytool -genkeypair -alias 203.119.213.42 -dname "cn=203.119.213.42, o=JMeter Proxy (TEMPORARY TRUST ONLY)" -keyalg RSA -keystore proxyserver.jks -storepass {redacted} -keypass {redacted} -validity 7 -ext san=dns:203.119.213.42'

at org.apache.jorphan.exec.KeyToolUtils.genkeypair(KeyToolUtils.java:171) ~[jorphan.jar:4.0 r1823414]

at org.apache.jorphan.exec.KeyToolUtils.generateSignedCert(KeyToolUtils.java:285) ~[jorphan.jar:4.0 r1823414]

at org.apache.jorphan.exec.KeyToolUtils.generateHostCert(KeyToolUtils.java:276) ~[jorphan.jar:4.0 r1823414]

at org.apache.jmeter.protocol.http.proxy.ProxyControl.updateKeyStore(ProxyControl.java:1563) ~[ApacheJMeter_http.jar:4.0 r1823414]

at org.apache.jmeter.protocol.http.proxy.Proxy.getSSLSocketFactory(Proxy.java:324) [ApacheJMeter_http.jar:4.0 r1823414]

at org.apache.jmeter.protocol.http.proxy.Proxy.startSSL(Proxy.java:429) [ApacheJMeter_http.jar:4.0 r1823414]

at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:194) [ApacheJMeter_http.jar:4.0 r1823414]

2018-08-30 11:03:02,558 WARN o.a.j.p.h.p.Proxy: [54857]  Unable to negotiate SSL transaction, no keystore?

2018-08-30 11:03:02,558 ERROR o.a.j.p.h.p.Proxy: [54857] ?Exception when processing sample

java.io.IOException: Unable to negotiate SSL transaction, no keystore?

at org.apache.jmeter.protocol.http.proxy.Proxy.startSSL(Proxy.java:446) ~[ApacheJMeter_http.jar:4.0 r1823414]

at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:194) [ApacheJMeter_http.jar:4.0 r1823414]

2018-08-30 11:03:02,764 INFO o.a.j.p.h.p.ProxyControl: [54858] Creating entry 203.119.213.42 in C:\g\apache-jmeter-4.0\bin\proxyserver.jks

2018-08-30 11:03:03,474 ERROR o.a.j.p.h.p.Proxy: [54858] ?Problem with keystore

java.io.IOException:   >> keytool 错误: java.lang.RuntimeException: java.io.IOException: DNSName components must begin with a letter <<

Command failed, code: 1

https://img1.sycdn.imooc.com//5b87616e000112d215950702.jpg


正在回答

1 回答

好像知道啥情况了  后台的钉钉会调用这个代理。。

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

代理开起来以后浏览器启动代理就会报错,有人帮忙看下吗

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信