You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/12/13 07:24:02 UTC
[Bug 63008] New: java.io.IOException: Unable to negotiate SSL
transaction, no keystore? in JMeter 5.0
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: issues@jmeter.apache.org
Reporter: annyshah.90@gmail.com
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.
[Bug 63008] java.io.IOException: Unable to negotiate SSL
transaction, no keystore? in JMeter 5.0
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63008
Aniket Shah <an...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P1
Severity|normal |blocker
OS| |All
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63008] java.io.IOException: Unable to negotiate SSL
transaction, no keystore? in JMeter 5.0
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63008
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |p.mouawad@ubik-ingenierie.c
| |om
Resolution|--- |INVALID
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
This is a current limitation of JDK fixed in JDK12:
- https://bugs.openjdk.java.net/browse/JDK-8213952
You can try JMeter with JDK12 although it's not tested.
Another option is to give nightly build a try as it allows recording HTTPS
based site which have IP rather DNS.
Please if you do give us some feedback.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 63008] java.io.IOException: Unable to negotiate SSL
transaction, no keystore? in JMeter 5.0
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63008
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|JMETER_5.1 |---
--
You are receiving this mail because:
You are the assignee for the bug.