0 Replies Latest reply on Feb 19, 2004 1:52 PM by meera13

    JMS over SSL?

    meera13 Newbie

      I am trying to configure the OILService for SSL which I was able to but when the MDB tries to reply to the incoming message by looking up the connectionfactory i.e. where I do

      connection = conFactory.createQueueConnection("guest","");

      it throws (from server.log)

      2004-02-19 09:51:59,236 TRACE [org.jboss.mq.Connection] Connection Initializing
      2004-02-19 09:51:59,236 TRACE [org.jboss.mq.Connection] Getting the serverIL
      2004-02-19 09:51:59,236 TRACE [org.jboss.mq.Connection] serverIL=org.jboss.mq.il.oil.OILServerIL@19f9c7a
      2004-02-19 09:51:59,236 TRACE [org.jboss.mq.Connection] Authenticating
      2004-02-19 09:51:59,236 TRACE [org.jboss.mq.Connection] Authenticating user guest
      2004-02-19 09:51:59,236 TRACE [org.jboss.mq.il.oil.OILServerIL] Connecting to : localhost/
      2004-02-19 09:51:59,256 TRACE [org.jboss.mq.il.oil.OILServerIL] Connecting with addr=localhost/, port=9000, localAddr=null, localPort=0, socketFactory=org.jboss.security.ssl.ClientSocketFactory@f254aedd
      2004-02-19 09:51:59,266 DEBUG [org.jboss.mq.il.oil.OILServerILService] IOException processing client connection
      javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
      at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)

      I have checked the keystore which contains the cerificate on the server side (which contains the certifate of the server).

      I dont understand why does it act as and client on replying back to the message is it bcoz it need to create a connection to JMS Server?

      And what is the solution to this issue?

      Any clues.....?