Skip to main content

Glassfish V2 mutual authnetication port issues

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
EJB-TLS
Offline
Joined: 2014-07-02
Points: 0

Hi,

We have modified sun-ejb-jar.xml to support mutual authentication.
We have added below contents to one of EJBCA EJB.

      <ejb-name>CaSessionBean</ejb-name>
      <jndi-name>ejbca/CaSessionRemote</jndi-name>
      <ior-security-config>

      <transport-config>
     
      <integrity>required</integrity>
     
      <confidentiality>required</confidentiality>
     
      <establish-trust-in-target>supported</establish-trust-in-target>
     
      <establish-trust-in-client>required</establish-trust-in-client>
     
      </transport-config>
     
      <sas-context>
     
      <caller-propagation>none</caller-propagation>
     
      </sas-context>
     
      </ior-security-config>
      <pass-by-reference>false</pass-by-reference>
      <is-read-only-bean>false</is-read-only-bean>
      <refresh-period-in-seconds>-1</refresh-period-in-seconds>
      <cmt-timeout-in-seconds>0</cmt-timeout-in-seconds>
      <gen-classes/>
    </ejb>

And we have created new port 3920 in Glassfish V2 for mutual authentication.

Once we restart the Glassfish domain (where EJBCA is deployed) , it is hanging. And we have observed that lot of connections are made to port 3920 internally. Finally domain is going tinto Maintainance state.
But if we remove security contents from EJB ( ) then every thing is working fine.
Could you please help what might have gone wrong here ?

Regards,
Raj