Help Needed - Need source code bundle of jsse.jar library
Wang Weijun
weijun.wang at oracle.com
Fri May 27 01:08:45 UTC 2016
You can find the latest jdk7u source code at http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/file/70e3553d9d6e/src, which includes JSSE.
--Max
> On May 26, 2016, at 3:31 PM, Ayaskant Swain <ayaskant.swain at gmail.com> wrote:
>
> Hi All,
>
> I am in urgent need of the source code bundle of jsse.jar library to debug a javax.net.ssl.SSLHandshakeException error.
>
> Our java application is a webservice and deployed in Mule container. Our application in turn calls another external SOAP service over a https URL. So our application becomes a client in the SSL conversation. And I am seeing the below errors only when using JDK_1.8.0_60 as the Java runtime for our application. I do not see this problem when i set JDK_1.7.0_71 as the running env for our application and everything works fine.
> -----------------------------------------------------
> done seeding SecureRandom
> Ignoring unsupported cipher suite: TLS_DHE_DSS_WITH_AES_256_GCM_SHA384
> Ignoring unsupported cipher suite: TLS_DHE_DSS_WITH_AES_128_CBC_SHA256
> Ignoring unsupported cipher suite: TLS_DHE_RSA_WITH_AES_128_CBC_SHA256
> Ignoring unavailable cipher suite: TLS_RSA_WITH_AES_256_CBC_SHA
> Ignoring unsupported cipher suite: TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
> Ignoring unsupported cipher suite: TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
> Ignoring unsupported cipher suite: TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
> Ignoring unavailable cipher suite: TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
> Ignoring unsupported cipher suite: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
> Ignoring unsupported cipher suite: TLS_RSA_WITH_AES_256_CBC_SHA256
>
> Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
> at sun.security.ssl.Handshaker.activate(Handshaker.java:503) ~[?:1.8.0_60]
> at sun.security.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1482) ~[?:1.8.0_60]
> at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1351) ~[?:1.8.0_60]
> -----------------------------------------------------------
>
> The Handshaker.class & SSLSocketImpl.class are inside jsse.jar file. The above error is being thrown from the "activate(ProtocolVersion helloVersion)" method of the Handshaker.class. I checked out this site - http://download.java.net/openjdk/jdk8/ to get the source bundle for jsse.jar & downloaded the "openjdk-8-src-b132-03_mar_2014.zip" file. But the steps given to build the openjdk is bit difficult to run and failing due to gcc compiler issues on my Mac OS laptop.
>
> So, can someone please provide me the jsse jar file source bundle (*.zip or *.jar) that will help in debugging the error . I am stuck at this error since last 4 days.
>
> Thanks
> Ayas
More information about the security-dev
mailing list