Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8150437

Two javax/net/ssl/TLS testcases failed with "bad record MAC" on Solaris

XMLWordPrintable

      Affected test cases:
      javax/net/ssl/TLSv11/TLSHandshakeTest.java
      javax/net/ssl/TLS/TLSMFLNTest.java

      Both test cases failed with below exception:
      Test Exception for SSL_RSA_EXPORT_WITH_RC4_40_MD5
      javax.net.ssl.SSLHandshakeException: bad record MAC
      at sun.security.ssl.Alerts.getSSLException(Alerts.java:198)
      at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1778)
      at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:987)
      at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:895)
      at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:673)
      at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
      at SSLEngineTestCase.doUnWrap(SSLEngineTestCase.java:476)
      at SSLEngineTestCase.doUnWrap(SSLEngineTestCase.java:414)
      at SSLEngineTestCase.handshakeProcess(SSLEngineTestCase.java:971)
      at SSLEngineTestCase.doHandshake(SSLEngineTestCase.java:576)
      at SSLEngineTestCase.doHandshake(SSLEngineTestCase.java:501)
      at HandshakeTest.testOneCipher(HandshakeTest.java:49)
      at SSLEngineTestCase.testSomeCiphers(SSLEngineTestCase.java:876)
      at SSLEngineTestCase.runTests(SSLEngineTestCase.java:686)
      at SSLEngineTestCase.runTests(SSLEngineTestCase.java:705)
      at HandshakeTest.main(HandshakeTest.java:36)
      at TLSHandshakeTest.main(TLSHandshakeTest.java:40)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)
      Caused by: javax.crypto.BadPaddingException: bad record MAC
      at sun.security.ssl.InputRecord.decrypt(InputRecord.java:444)
      at sun.security.ssl.InputRecord.decrypt(InputRecord.java:377)
      at sun.security.ssl.SSLEngineInputRecord.decodeInputRecord(SSLEngineInputRecord.java:253)
      at sun.security.ssl.SSLEngineInputRecord.decode(SSLEngineInputRecord.java:199)
      at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:968)
      ... 20 more

            asmotrak Artem Smotrakov
            tidu Tim Du (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: