0 Replies Latest reply on Jan 11, 2013 4:48 PM by 982961

    2-way ssl with Use Server Certs and direct sockets

      In weblogic 10.3.6 I am attempting to use the "Use Server Certs" option with outbound 2-way SSL. This works fine as long as I am using HTTPS; when I try to create a direct SSL Socket the hand shake fails and no client certificate is presented to the other server. Note I cannot use a HttpsURLConnection, it needs to be a direct socket.
      Is there any way to get a direct socket connection that would utilize the "User Server Certs" feature?

      A simple test that demonstrates what I am trying to do:
      SSLSocketFactory factory = SSLSocketFactory.getDefault();
      SSLSocket socket = (SSLSocket) factory.createSocket(host, port);
      socket.startHandshake(); <-- this line will fail

      Any information is appreciated.