https://bz.apache.org/bugzilla/show_bug.cgi?id=63008
Bug ID: 63008
Summary: java.io.IOException: Unable to negotiate SSL
transaction, no keystore? in JMeter 5.0
Product: JMeter
Version: 5.0
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.1
Trying to record my mobile application calls using JMeter and facing issues. I
have installed ApacheJMeterTemporaryRootCA.crt from laptop to mobile phone.
Added the laptop IP address to remote_hosts in jmeter.properties. Still I'm
getting below error:
1,036 ERROR o.a.j.p.h.p.Proxy: [47086] 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:448)
~[ApacheJMeter_http.jar:5.0 r1840935]
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:194)
[ApacheJMeter
Getting above during login itself in mobile application and login is not
working.
I'm also getting below error in logs:
2018-12-12 12:42:30,321 ERROR o.a.j.p.h.p.Proxy: [46349] ...
2018-12-12 12:42:30,321 ERROR o.a.j.p.h.p.Proxy: [46349] Problem with keystore
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 4o8rhl3t1a.execute-api.ap-southeast-1.amazonaws.com
-dname "cn=4o8rhl3t1a.execute-api.ap-southeast-1.amazonaws.com, o=JMeter Proxy
(TEMPORARY TRUST ONLY)" -keyalg RSA -keystore proxyserver.jks -storepass
{redacted} -keypass {redacted} -validity 7 -ext
san=dns:4o8rhl3t1a.execute-api.ap-southeast-1.amazonaws.com'
at org.apache.jorphan.exec.KeyToolUtils.genkeypair(KeyToolUtils.java:172)
~[jorphan.jar:5.0 r1840935]
at
org.apache.jorphan.exec.KeyToolUtils.generateSignedCert(KeyToolUtils.java:286)
~[jorphan.jar:5.0 r1840935]
at
org.apache.jorphan.exec.KeyToolUtils.generateHostCert(KeyToolUtils.java:277)
~[jorphan.jar:5.0 r1840935]
at
org.apache.jmeter.protocol.http.proxy.ProxyControl.updateKeyStore(ProxyControl.java:1606)
~[ApacheJMeter_http.jar:5.0 r1840935]
at
org.apache.jmeter.protocol.http.proxy.Proxy.getSSLSocketFactory(Proxy.java:326)
[ApacheJMeter_http.jar:5.0 r1840935]
at org.apache.jmeter.protocol.http.proxy.Proxy.startSSL(Proxy.java:431)
[ApacheJMeter_http.jar:5.0 r1840935]
at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:194)
[ApacheJMeter_http.jar:5.0 r1840935]
--
You are receiving this mail because:
You are the assignee for the bug.