JDK-6592547 : javax.net.ssl.SSLHandshakeException with 1.4.2_16 javaws https
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.2_17
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-08-14
  • Updated: 2010-04-03
  • Resolved: 2007-08-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4-poolResolved
Related Reports
Duplicate :  
Description
javax.net.ssl.SSLHandshakeException with 1.4.2_16 javaws

Testcases: https_hostnomatch && https_selfcert

Results URL:
http://jqa.ireland.sun.com/results/1.4.2_16/Build01/deployment/javaws/sun4u-solaris9/
http://jqa.ireland.sun.com/results/1.4.2_16/Build01/deployment/javaws/x86-win2000pro/
(exception on x86-SuSE10pro, sun4u-solaris9/10 and x86-win2000pro).

Exception:
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
	at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.b(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
	at java.net.URL.openStream(Unknown Source)
	at HttpsTest.main(HttpsTest.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Reproducibility: 100%

To reproduce please do the following:
1. Install 1.4.2_16-ea-b01 jre.
2. Run javaws and set log file to either "/tmp/javaws.log" or "C:/javaws.log" depending on whether unix or windows.
3. Clean your cache by running "./javaws -uninstall" first.
4. Run either of the testcases as follows:

# ./javaws http://nicole1.sfbay.sun.com:8080/JavawsTest/https/https_hostnomatch.jnlp

OR

# ./javaws http://nicole1.sfbay.sun.com:8080/JavawsTest/https/https_selfcert.jnlp

5. Check "/tnp/javaws.log" or "C:/javaws.log" for logout.

Comments
EVALUATION This bug has been caused by the incorrect jsse.jar file being putback for 1.4.2_17b01 (old _16 b01). It's been already reported in 6450310 and the correct jsse.jar fix has been made available for (1.4.2_17-b02). I've verified the fix works and will close out this CR as a dup of 6450310.
31-08-2007