cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrija Panic <andrija.pa...@gmail.com>
Subject Re: Master breaking with jdk 1.8.0_201+
Date Mon, 13 May 2019 16:50:54 GMT
Check if TLSv1 and/or 1.1 disabled on Java side or ACS side - I was hitting
this while building from sources...

i.e.


#java.security.ciphers.in
jdk.tls.disabledAlgorithms=SSLv2Hello, SSLv3, TLSv1, TLSv1.1, DH keySize <
128, RSA keySize < 128, DES keySize < 128, SHA1 keySize < 128, MD5 keySize
< 128, RC4

#from /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/security/java.security
#jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024,
EC keySize < 224, 3DES_EDE_CBC, anon, NULL

On Mon, May 13, 2019, 17:23 Rohit Yadav <rohit.yadav@shapeblue.com> wrote:

> All,
>
>
> I've hit this bug which is due to the MockServer's usage of
> SSL_NULL_WITH_NULL that is disabled since jdk 1.8 (201 build). Has anyone
> come across this and fixed the unit test failure:
>
>
> [INFO] Running rdpclient.MockServerTest
> Error in mock server: no cipher suites in common
> javax.net.ssl.SSLHandshakeException: no cipher suites in common
> at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
> at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316)
> at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:306)
> at
> sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:1127)
> at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:814)
> at
> sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:221)
> at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
> at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)
> at
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
> at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
> at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
> at streamer.debug.MockServer.run(MockServer.java:122)
> at java.lang.Thread.run(Thread.java:748)
> [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 0.207 s <<< FAILURE! - in rdpclient.MockServerTest
> [ERROR]
> testIsMockServerCanUpgradeConnectionToSsl(rdpclient.MockServerTest)  Time
> elapsed: 0.204 s  <<< ERROR!
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> handshake_failure
> at
> rdpclient.MockServerTest.testIsMockServerCanUpgradeConnectionToSsl(MockServerTest.java:163)
>
> [INFO] Running streamer.BaseElementTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 0.027 s - in streamer.BaseElementTest
> [INFO] Running streamer.ByteBufferTest
> [INFO] Tests run: 400, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 0.093 s - in streamer.ByteBufferTest
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   MockServerTest.testIsMockServerCanUpgradeConnectionToSsl:163 ยป
> SSLHandshake Re...
> [INFO]
> [ERROR] Tests run: 404, Failures: 0, Errors: 1, Skipped: 0
>
> My jdk:
>
> > java -version
> openjdk version "1.8.0_212"
> OpenJDK Runtime Environment (build 1.8.0_212-8u212-b01-1-b01)
> OpenJDK 64-Bit Server VM (build 25.212-b01, mixed mode)
>
>
>
> Regards,
>
> Rohit Yadav
>
> Software Architect, ShapeBlue
>
> https://www.shapeblue.com
>
> rohit.yadav@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message