James Server
  1. James Server
  2. JAMES-301

Pop3 TLS and Thunderbird 0.7 do not go together

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 3.0-M1, 3.0.0
    • Component/s: James Core
    • Labels:
      None
    • Environment:
      windows thunderbird 0.7 client
      rh9 james <pop3server enabled="true"> <useTLS>true</useTLS>

      Description

      2004-06-25 14:59:47,686 DEBUG POP3Handler - socket.getLocalPort(): 2995,
      remoteIP: 62.167.85.87, remoteHost: adsl-62-167-85-87.adslplus.ch
      2004-06-25 14:59:48,408 DEBUG POP3Handler - Connection has been shutdown:
      javax.net.ssl.SSLException: Algorithm missing:
      javax.net.ssl.SSLException: Connection has been shutdown:
      javax.net.ssl.SSLException: Algorithm missing:
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.d(DashoA6275)
      at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
      at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:408)
      at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:450)
      at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
      at java.io.InputStreamReader.read(InputStreamReader.java:167)
      at java.io.BufferedReader.fill(BufferedReader.java:136)
      at java.io.BufferedReader.readLine(BufferedReader.java:299)
      at java.io.BufferedReader.readLine(BufferedReader.java:362)
      at
      org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:332)
      at
      org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:462)
      at
      org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
      at
      org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:80)
      Caused by: javax.net.ssl.SSLException: Algorithm missing:
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.m(DashoA6275)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
      at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
      at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:410)
      at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
      at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
      at java.io.BufferedWriter.flush(BufferedWriter.java:230)
      at java.io.PrintWriter.flush(PrintWriter.java:120)
      at
      org.apache.james.util.InternetPrintWriter.println(InternetPrintWriter.java:131)
      at
      org.apache.james.util.InternetPrintWriter.println(InternetPrintWriter.java:228)
      at
      org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:329)
      ... 3 more
      Caused by: java.security.NoSuchAlgorithmException: Could not create cipher AES/128
      at com.sun.net.ssl.internal.ssl.CipherBox$JCECipherBox.a(DashoA6275)
      at com.sun.net.ssl.internal.ssl.SunJSSE_h.a(DashoA6275)
      at com.sun.net.ssl.internal.ssl.CipherSuite$BulkCipher.a(DashoA6275)
      at com.sun.net.ssl.internal.ssl.SunJSSE_ax.b(DashoA6275)
      ... 18 more
      Caused by: java.security.NoSuchAlgorithmException: No implementation for
      AES/CBC/NoPadding found
      at com.sun.net.ssl.internal.ssl.SunJSSE_i.d(DashoA6275)
      at com.sun.net.ssl.internal.ssl.SunJSSE_i.a(DashoA6275)
      at com.sun.net.ssl.internal.ssl.CipherBox$JCECipherBox.<init>(DashoA6275)
      ... 22 more

      see also: http://forum.java.sun.com/thread.jsp?forum=2&thread=525590&tstart=15&trange=15

      or will we have to wait for JDK1.5? (http://jroller.com/page/eu/20031225#new_kind_of_jce_providers) on the other hand, the problem appears to be 2 years old: http://jce.iaik.tugraz.at/mailarchive/iaik-ssl/msg00864.html

      see also: http://jce.iaik.tugraz.at/products/15_PKCS11_Provider/Features.php (AES section) and http://java.sun.com/j2se/1.5.0/docs/guide/security/p11guide.html

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ralf Hauser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development