[omniORB] ssl and paths
Rob
rob.cole@s4dtv.com
Mon Mar 17 09:50:02 2003
The problem was simply that you must not give a path to the password
filename if it doesn't exist. If you do not use a password, the password
filename must be
sslContext::key_file_password="whatever"
Regards
Rob
On Fri, 2003-03-14 at 13:19, Rob wrote:
> 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
>
>
>
>
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list@omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list