Discussion:
[omniORB] ssl_echo example problem
Adila Botonjic
2006-07-12 14:14:45 UTC
Permalink
Hi everyone,



I have a problem with the ssl_echo example. It works perfectly fine if i
use CA root.pem, key files server.pem and client.pem, but when i create
my own CA and server, client key files, it doesn't work. I get an error:



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

Caught CORBA :: SystemException: INITIALIZE



But if put in comments the /*sslContext::key_file_password = "password";
*/ in both sides (server and client) then server works, but client
throws out:

Cought a CORBA:: SystemException: TRANSIENT



So, is there some problem with the format for password file? Or does
anybody knows how to solve this problem?

Thanks

Ada



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20060712/33ce8910/attachment.htm
Duncan Grisby
2006-07-14 15:46:47 UTC
Permalink
Post by Adila Botonjic
I have a problem with the ssl_echo example. It works perfectly fine if i
use CA root.pem, key files server.pem and client.pem, but when i create
omniORB: sslContext.cc : error:06065064:digital envelope
routines:EVP_DecryptFinal_ex:bad decrypt
How did you generate your keys? It's somewhat obscure, and it's very
easy to get it wrong.
Post by Adila Botonjic
But if put in comments the /*sslContext::key_file_password = "password";
*/ in both sides (server and client) then server works, but client
Cought a CORBA:: SystemException: TRANSIENT
So, is there some problem with the format for password file? Or does
anybody knows how to solve this problem?
That value is not a password file, it's the actual password itself.
Maybe that's the problem?

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...