My Oracle Support Banner

WebLogic Server 10.3.3: With JSSE and Certificate Requested but Not Enforced, Seeing Authentication Errors (Doc ID 1304272.1)

Last updated on DECEMBER 11, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.3 to 10.3.3
Information in this document applies to any platform.


The customer scenario is that they have two types of users: A and B. Users of type A have SSL certificates which are registered with WebLogic Server, and they are authenticated by presenting those certificates to WLS. If there is no such certificate offered to WLS, the user is deemed to be of type B, and they are offered a form for form-based authentication. Users of type A do not have usernames and passwords for form-based authentication, just as users of type B do not have SSL certificates in place.

This is configured by setting up client certificates to be "requested but not enforced." That is, the authentication system requests a cert, but does not deny authentication if it does not receive one in return: in that case, the authentication moves on to the form-based authentication as spelled out above.

This works correctly in most versions of WebLogic Server. However, in WLS 10.3.3, the following error occurs:

<Mar 15, 2011 9:32:38 AM EDT> <Debug> <SecuritySSL> <BEA-000000> <Exception processing certificates: peer not authenticated peer not authenticated
  at weblogic.servlet.internal.VirtualConnection.initSSLAttributes(
  at weblogic.servlet.internal.VirtualConnection.init(
  at weblogic.servlet.internal.ServletRequestImpl.initFromRequestParser(
  at weblogic.servlet.internal.MuxableSocketHTTP.dispatch(
  at weblogic.socket.JSSEFilterImpl.dispatch(
  at weblogic.socket.MuxableSocketDiscriminator.dispatch(
  at weblogic.socket.JSSEFilterImpl.dispatch(
  at weblogic.socket.SocketMuxer.readReadySocketOnce(
  at weblogic.socket.SocketMuxer.readReadySocket(
  at weblogic.socket.EPollSocketMuxer.dataReceived(
  at weblogic.socket.EPollSocketMuxer.processSockets(
  at weblogic.socket.SocketReaderRequest.execute(
  at weblogic.kernel.ExecuteThread.execute(

It appears that instead of requesting the cert and then moving on to form-based authentication if the cert is not provided, WLS is not requesting the client cert at all. This behavior only occurs when using JSSE, not Certicom. It was not present prior to WLS 10.3.3 (which didn't support JSSE), and it is not present in WLS 10.3.4.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.