This content has been marked as final.
Show 3 replies
-
1. Re: IIOP over SSL
dmac Aug 5, 2009 7:37 PM (in response to dmac)I also get the same error using jdk1.5.0_18
I note that if i leave jacorb.security.support_ssl set to off, that java:/jaas/IIOP+SSL is visible in the JNDIView, so it does get deployed .. but probably after CORBA has been looking for it, hence the error.
Has the configuration changed somewhere between jboss 4.2.3 and 5.1.0 ? If so, could someone please point me in the right direction.
Thanks -
2. Re: IIOP over SSL
sguilhen Sep 2, 2009 4:32 PM (in response to dmac)Thanks for raising this. The issue is that CorbaORBService needs an extra dependency on AS5 when IIOP/SSL is configured. In other words, the section of the iiop-service.xml that configures IIOP/SSL should look as follows:
<!-- uncomment to use IIOP over SSL --> <attribute name="SecurityDomain">java:/jaas/IIOP+SSL</attribute> <depends>JBossSecurityJNDIContextEstablishment</depends <depends>jboss.security:service=JaasSecurityDomain,domain=IIOP+SSL</depends>
Notice the dependency on JBossSecurityJNDIContextEstablishment. This is the missing dep that will make CorbaORBService wait until the security domain is available in JNDI before creating the SSLSocket factories.
I've applied the change to iiop-service.xml on Branch_5_x and Trunk, so it will be available in the next AS release. -
3. Re: IIOP over SSL
dmac Sep 2, 2009 6:30 PM (in response to dmac)Excellent, thanks Stefan
This was driving me crazy :)