[omniORB] UCS 4 bug
Mike Mascari
mascarm at mascari.com
Thu Apr 29 08:48:17 BST 2004
Nicolas Pierre wrote:
> Hello people
>
> I'm still trying to using omniORB xith openSSL and some trouble arose :
>
> I initialise the ssl context using the omniORB function :
>
> sslContext* sslC = new sslContext("root.pem","server.pem","password");
I *believe* the sslContext is a singleton that need to be set before
the ORB is initialized, not a dynamically allocated object:
int main(int arg, char *argv[]) {
...
sslContext::certificate_authority_file = "root.pem.ok";
sslContext::key_file = "server.pem.ok";
sslContext::key_file_password = "password";
...
orb = CORBA::ORB_init(...);
...
orb->run();
}
HTH,
Mike Mascari
More information about the omniORB-list
mailing list