Enforce Weblogic to use Sun SSL implementation rather than Certicom

Add the following flag in the startup script

-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
-Dssl.SocketFactory.provider=com.sun.net.ssl.internal.SSLSocketFactoryImpl
-DUseSunHttpHandler=true
-Dweblogic.wsee.client.ssl.usejdk=true (for webservice clients)

6 comments

  1. Add following properties in the script startup:

    -Dweblogic.ssl.JSSEEnabled=true

    or navigate to

    Environmet>Servers>server1(for example)>SSL>Advanced>

    Enabled checkbox Use SSL of JSSE

    Save changes and restart to server.

  2. I have the flags in place but i get the error. When i remove them it works. Any idea? -Dweblogic.ssl.JSSEEnabled=true -Dweblogic.security.SSL.enableJSSE=true

    <Exception processing certificates: peer not authenticated
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
    at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)
    at weblogic.servlet.internal.VirtualConnection.initSSLAttributes(VirtualConnection.java:176)
    at weblogic.servlet.internal.VirtualConnection.init(VirtualConnection.java:78)
    at weblogic.servlet.internal.ServletRequestImpl.initFromRequestParser(ServletRequestImpl.java:269)
    at weblogic.servlet.internal.MuxableSocketHTTP.dispatch(MuxableSocketHTTP.java:321)
    at weblogic.socket.JSSEFilterImpl.dispatch(JSSEFilterImpl.java:200)
    at weblogic.socket.MuxableSocketDiscriminator.dispatch(MuxableSocketDiscriminator.java:185)
    at weblogic.socket.JSSEFilterImpl.dispatch(JSSEFilterImpl.java:200)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:965)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:897)
    at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:126)
    at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

Leave a Reply