Jetty
  1. Jetty
  2. JETTY-39

Check if JSSE is allowed to ignore client cert needs

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: HTTP
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I have a problem with the Jetty 6 SslSocketConnector. I am trying to make a http connector that uses SSL, configuration and everything works fine, the server sends the client a certificate also great...everything fine till now, but now I want the client to authenticate itself. The client now sends an invalid certificate and I get a error:

      java.lang.IllegalStateException: no client auth
      at org.mortbay.jetty.security.SslSocketConnector.customize(SslSocketConnectorjava:361)
      at org.mortbay.jetty.HttpConnection.doHandler(HttpConnection.java:362)
      at org.mortbay.jetty.HttpConnection.access$1600(HttpConnection.java:46)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:612)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:485)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:194)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:298)
      at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:153)
      at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:412)

      Ok this error is ok, but the the connection is not droped. The http request is forwarded and served.

        Activity

        Greg Wilkins made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Wilkins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: