[omniORB] ssl and paths

Rob rob@visuals.co.za
Fri Mar 14 14:49:02 2003


Hi All

I have a strange problem when starting an omniOrb(4) server, on
initialising the sslContext files. If the files are in the current
directory, as per ssl_echo example:

sslContext::certificate_authority_file = "root.pem"
sslContext::key_file = "server.pem"
...

Then everything works fine . 

If I give a path to the files eg.

sslContext::certificate_authority_file = "/tmp/root.pem"
sslContext::key_file = "/tmp/server.pem"
......

I Get the following error:

omniORB: sslContext.cc : error:06065064: digital envelope routines:
EVP_DecryptFinal:bad decrypt

I start the server as a daemon, so this is somewhat problematic. 

I had a quick look at sslContext.cc and could see no problem. I also
confirmed that the echo_ssl example has the same problem if I use an
absolute pathname. Am I missing something obvious? 

Regards
Rob