javax.net.ssl.SSLHandshakeException

Invalid Padding length: 36

Samebug tips1

Import the server certificate into your truststore.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web77

  • via Oracle Community by mvsrikanthss, 11 months ago
    Invalid Padding length: 36
  • via mina-ftpserver-users by Martin Wunderlich, 1 year ago
    Invalid Padding length: 140
  • Invalid Padding length: 81
  • Stack trace

    • javax.net.ssl.SSLHandshakeException: Invalid Padding length: 36 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1703) at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:965) at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:890) at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:764) at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) at org.apache.mina.filter.ssl.SslHandler.unwrap0(SslHandler.java:644) at org.apache.mina.filter.ssl.SslHandler.unwrapHandshake(SslHandler.java:591) at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:461) at org.apache.mina.filter.ssl.SslHandler.messageReceived(SslHandler.java:286) at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:407) at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405) at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40) at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823) at org.apache.mina.common.DefaultIoFilterChain$HeadFilter.messageReceived(DefaultIoFilterChain.java:607) at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405) at org.apache.mina.common.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:399) at org.apache.mina.common.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:425) at org.apache.mina.common.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:387) at org.apache.mina.common.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:379) at org.apache.mina.common.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:43) at org.apache.mina.common.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:678) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:41) at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184) at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    110 more bugmates