0 Replies Latest reply on Oct 22, 2003 7:04 PM by chinsag

    java.net.SocketException: Default SSL context init failed:

    chinsag

      Hi i am getting the following error while connecting with the https(SSL)
      My app runs fine with http but when i try running it https i am getting this error.
      I can run the jmx-console successfully with https

      https://localhost:443/jmx-console

      Can any one guid me what are all should i edit the jboss.xml ,jboss-web.xml files for the ejb/servlet deployment descriptors.

      I am self generating the keystore file using the Keytool from JDK.

      Exception details
      ------------------
      java.net.SocketException: Default SSL context init failed: Keystore was tampered with, or password was incorrect at javax.net.ssl.DefaultSSLSocketFactory.createSocket(DashoA6275)
      at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA6275)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
      at sun.net.www.protocol.https.HttpsClient.(DashoA6275)
      at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)
      at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)
      at sun.net.www.protocol.https.HttpsClient.a(DashoA6275)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.plainCo
      nnect(DashoA6275)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
      (DashoA6275)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLCo
      nnection.java:528)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Das
      hoA6275)
      at com.oreilly.servlet.HttpMessage.sendPostMessage(HttpMessage.java:137)
      with, or password was incorrect


      --------------------------------------------
      Look forward for your response..............
      Thanks In Advance