1 Reply Latest reply on Feb 20, 2010 8:34 PM by Ron Sigal

    ssl socket creation error

    ayrat k Newbie


      i want to make ejb invoking by ssl. AS version is jboss-5.1.0.GA.

      So i made actions

      1) created keystore in server/mmslegacy-backend/conf directory

      keytool -genkeypair -alias mmslegacy-ssl -keystore mmslegacy.store

      2) changed ejb 3 remoting connector in  server/mmslegacy-backend/deploy/ejb3-connectors-jboss-beans.xml

      <bean name="org.jboss.ejb3.RemotingConnector"



          <property name="invokerLocator">


            <value-factory bean="ServiceBindingManager"
                <null />
                <null />


          <property name="serverConfiguration">
            <inject bean="ServerConfiguration" />

      3) Start jboss with command

      run.sh  -c mmslegacy-backend -b -Djavax.net.ssl.keyStore=../server/mmslegacy-backend/conf/mmslegacy.store -Djavax.net.ssl.keyStorePassword=zxasqw


      And i have an error during jboss boot

      17:04:20,481 ERROR [AbstractKernelController] Error installing to Start: name=org.jboss.ejb3.RemotingConnector state=Create
      java.io.IOException: SocketServerInvoker[ayrat:3843] error creating ServerSocket[]: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)

        • 1. Re: ssl socket creation error
          Ron Sigal Master

          I haven't seen this particular exception before.  Do you see any suspicious messages from Remoting in server.log?


          By the way, a lot of references came up when I googled "java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)".  Maybe the answer is already out there.