Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-805

No cipher suites and protocols in SslFilter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-M6
    • 2.0.8
    • Filter
    • None
    • Windows Xp, jdk1.5.0_05

    Description

      When try to getEnabledProtocols and getEnabledCipherSuites from SslFilter it returns null. SslFilter allows set setEnabledProtocols and setEnabledCipherSuites. but at the run time it gives the following exceptions.
      This may caused because of Mina SslFilter doesn't implement the functionality as SSLServerSocket.

      org.apache.mina.util.DefaultExceptionMonitor exceptionCaught
      WARNING: Unexpected exception.
      org.apache.mina.core.filterchain.IoFilterLifeCycleException: onPreAdd(): ssl:SslFilter in (0x00000002: nio socket, server,
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:279)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(DefaultIoFilterChain.java:174)
      at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFilterChain(DefaultIoFilterChainBuilder.java:452)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(AbstractPollingIoProcessor.java:530)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSessions(AbstractPollingIoProcessor.java:503)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$300(AbstractPollingIoProcessor.java:64)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1109)
      at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
      Caused by: java.lang.IllegalArgumentException: TLSv1.1
      at com.sun.net.ssl.internal.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:114)
      at com.sun.net.ssl.internal.ssl.ProtocolList.<init>(ProtocolList.java:36)
      at com.sun.net.ssl.internal.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:1719)
      at org.apache.mina.filter.ssl.SslHandler.init(SslHandler.java:170)
      at org.apache.mina.filter.ssl.SslFilter.onPreAdd(SslFilter.java:417)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:277)

      Attachments

        Activity

          People

            Unassigned Unassigned
            chathura06 Chathura Randika
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified