[omniORB] OmniOrb, OpenSSL and NAT

Nicolas Pierre pierre at lifc.univ-fcomte.fr
Wed Apr 14 15:01:14 BST 2004


I was still performing more tests with the function that would allow me 
to NAT some SSL commection with OmniORB.

If I use :
   int    my_argc = argc + 6;
   char** my_argv = new char*[my_argc];
   memcpy(my_argv,argv,sizeof(char*)*argc);
   my_argv[my_argc - 6] = "-ORBendPoint";
   my_argv[my_argc - 5] = "giop:tcp:darwin:9000";
   my_argv[my_argc - 4] = "-ORBendPointNoListen";
   my_argv[my_argc - 3] = "giop:tcp:riri:2002";
   my_argv[my_argc - 2] = "-endPointNoListen";
   my_argv[my_argc - 1] = "giop:ssl:darwin:2800";

The SSL endPoint is not registred.
If, instead, I use :
   my_argv[my_argc - 2] = "-ORBendPointNoListen";
   my_argv[my_argc - 1] = "giop:ssl:darwin:2800";

I get the following message :
omniORB: Warning: cannot add this SSL address (darwin,2800) to the IOR 
because the host name does not match my host name (darwin)

If I use : "giop:tcp::2800" I get :
omniORB: Error: Unable to create an endpoint of this description: 
giop:ssl::2800
Caught CORBA::Exception.

It must be said that the 9000 port is blocked.

Here ou are, any idea?
Regards.
Nicolas.



More information about the omniORB-list mailing list