https://bz.apache.org/bugzilla/show_bug.cgi?id=62940
Bug ID: 62940
Summary: Unable to record IP based URL
Product: JMeter
Version: 4.0
Hardware: PC
Status: NEW
Severity: blocker
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.1
Hi Team,
When I try to record HTTPS based site which have IP rather DNS and I could see
the log from jmeter as below.
java.io.IOException: >> keytool error: java.lang.RuntimeException:
java.io.IOException: DNSName components must begin with a letter <<
Command failed, code: 1
'keytool -genkeypair -alias 10.32.120.143 -dname "cn=10.32.120.143, o=JMeter
Proxy (TEMPORARY TRUST ONLY)" -keyalg RSA -keystore proxyserver.jks -storepass
{redacted} -keypass {redacted} -validity 7 -ext san=dns:10.32.120.143'
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]
--
You are receiving this mail because:
You are the assignee for the bug.