1 Reply Latest reply on Dec 22, 2008 1:59 PM by peterj

    SSL configuration for ejb3

    christian.gruber

      I try to switch from 4.2.2 to 5.0.0, but cannot find a description for SSL configuration in the docs. I am looking for an equivalent configuration in the file deploy\ejb3.deployer\META-INF\jboss-service.xml which worked in 4.2.2:

      <mbean code="org.jboss.remoting.transport.Connector"
      
       name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"
       display-name="Socket transport Connector">
       <attribute name="Configuration">
       <config>
       <invoker transport="sslsocket">
       <attribute name="serverSocketFactory">jboss.remoting:service=ServerSocketFactory,type=SSL</attribute>
       <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
       <attribute name="serverBindPort">3843</attribute>
       </invoker>
       <handlers>
       <handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>
       </handlers>
       </config>
       </attribute>
       <depends>jboss.remoting:service=ServerSocketFactory,type=SSL</depends>
       <depends>jboss.aop:service=AspectDeployer</depends>
       </mbean>
       <mbean code="org.jboss.remoting.security.SSLSocketBuilder"
       name="jboss.remoting:service=SocketBuilder,type=SSL"
       display-name="SSL Server Socket Factory Builder">
       <attribute name="UseSSLServerSocketFactory">false</attribute>
       <attribute name="KeyStoreURL">my.keystore</attribute>
       <attribute name="KeyStorePassword">mykspass</attribute>
       <attribute name="KeyStoreType">JKS</attribute>
       </mbean>
       <mbean code="org.jboss.remoting.security.SSLServerSocketFactoryService"
       name="jboss.remoting:service=ServerSocketFactory,type=SSL"
       display-name="SSL Server Socket Factory">
       <depends optional-attribute-name="SSLSocketBuilder"
       proxy-type="attribute">jboss.remoting:service=SocketBuilder,type=SSL</depends>
       </mbean>


      Or is there a document which describes the translation of config-files from the 4x to the 5x version? Please point me to that file.