[omniORB] use SSL to resolve initial references

Konstantin Olkhovskiy lupus at oxnull.net
Tue Aug 31 23:01:15 BST 2010


Hello, Christian.

Using corbaloc you can specify ssl transport as
corbaloc:ssliop:127.0.0.1:12345/MyService.

2010/8/31 Christian Hoffmann <chrmhoffmann at gmail.com>:
> Hi,
>
> I linked omniNames and nameclt to omnisslTP4 lib and I can run both (I see
> ORBssl* parameters). I wonder how I can configure the InitRef for the
> NameService to use ssl? Is there a way to specifiy the transport?
>
> In my orb.conf:
>
> InitRef = NameService=corbaname::myhost.mydomain:2809
> endPoint = giop:unix:
>         = giop:tcp::
>         = giop:ssl::
>
> clientTransportRule = * ssl
> serverTransportRule = * tcp,ssl
>
> If I run nameclt list, I get:
>
> omniORB: Initial reference `NameService' resolved from configuration file.
> omniORB: throw TRANSIENT from giopRope.cc:342
> (NO,TRANSIENT_NoUsableProfile)
> omniORB: throw TRANSIENT from omniObjRef.cc:823
> (NO,TRANSIENT_NoUsableProfile)
> Caught a TRANSIENT exception when trying to validate the type of the
> NamingContext. Is the naming service running?
> omniORB: ORB not destroyed; no final clean-up.
>
> I wonder how I can specify InitRef to force SSL usage. If I directly put
> the "IOR:xxxxxx" in, it works.
>
> Thanks in advance,
> Chris
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>



-- 
Cheers,
Konstantin Olkhovskiy



More information about the omniORB-list mailing list